EControl Syntax Editor SDK
TSyntAnalyzer.AlwaysSyncBlockAnal Property

Enables background block analysis.

property AlwaysSyncBlockAnal: Boolean;

In this mode block rules are checked in background mode after parsing all the text . It is available only if all parser rules in the lexer and all sub-lexers have not parent restrictions. In this mode editing and scrolling are faster. This mode is automated, that is it is turned on each time when possible. 

To disable background block analysis set property AlwaysSyncBlockAnal to True. 

Block analysis in complex lexers with many block rules may take up to 90% of time. So using setting this property to False may help to improve editor performance.

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