EControl Syntax Editor SDK
TCustomSyntaxMemo.TextChanged Method

Called after text have been changed.

procedure TextChanged(Sender: TObject; Pos: integer; Count: integer; LineChange: integer); dynamic;

This event 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!