EControl Syntax Editor SDK
TSyntAnalyzer.FullRefreshSize Property

Specifies threshold after which full refresh (when text is changed) of syntactical objects will not be performed.

property FullRefreshSize: integer;


If FullRefreshSize is 0 (by default), full refreshing is disabled. Full refreshing takes more time, but sometimes it may be useful for some parser's rules. 


For example, parser expression " ".*" " will not work correctly without full refreshing. When you unquote (input second ") string, this string will not be highlighted. 

To remove this effect you have to use such expression: ".*?("|$) 

In this case when you quote string, it will be highlighted till line end, when you unquote, string will be highlighted till second quotation mark.

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