EControl Syntax Editor SDK
TSyntMemoStrings.Changed Method

Called after text has been changed.

procedure Changed(Pos: integer; Count: integer; LineChange: integer);

This event is called whenever text is modified. 

Pos indicates position of changes. 

Count indicates number of characters inserted (Count > 0) or deleted (Count < 0) at position Pos. 

LineChange indicates changing of lines count.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!