Links
EControl Syntax Editor SDK
TClientSyntAnalyzer.ChangedAtPos Method

Destroys all syntactical results for text from specified position.

procedure ChangedAtPos(APos: integer);

This method is called when text is changed. APos specifies position at which text has been changed. 

ChangedAtPos destroys all tokens (TSyntToken) that are placed after APos (EndPos >= APos). 

ChangedAtPos destroys or opens text ranges that point to destroyed tokens. 

ChangedAtPos destroys or opens sub-lexer ranges that are placed after APos. 

ChangedAtPos destroys line separators if RefIdx points to destroyed token. 

ChangedAtPos resets IsFinished flag to False. 

Block staples are not destroyed.

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