EControl Syntax Editor SDK
TCustomSyntaxMemo.CollapseLevel Property

Specifies level of text ranges that will be affected by the "Collapse all" command.

property CollapseLevel: integer;

"Collapse all" command is executed by the FullCollapse or by calling ExecCommand with the smFullCollapse command. 

If CollapseLevel is -1 (by default), all text ranges will be collapsed, otherwise only text ranges that have specified level (TTextRange.Level) will be convolved.

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