EControl Syntax Editor SDK
TCustomSyntaxMemo.FullCollapse Method

Collapses text ranges and user ranges.

procedure FullCollapse(AStartPos: integer = 0; AEndPos: integer = -1);

FullCollapse always collapses all user ranges. 

FullCollapse collapses all text ranges, if CollapseLevel is -1, otherwise it collapses only text ranges with Level equaled to the CollapseLevel.

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