Links
EControl Syntax Editor SDK
TCollapsedRanges Class

Lists the collapsed ranges (TCollapsedRange objects) in the TCustomSyntaxMemo.

TCollapsedRanges = class(TPersistent);

ecSyntMemo

Use TCustomSyntaxMemo.Collapsed property to access collapsed ranges. 

Use ShowLine method to show particular line. 

Use SkipHidden method to search visible line, for example, when you set caret position.

Topic 
Description 
The methods of the TCollapsedRanges class are listed here. 
The properties of the TCollapsedRanges class are listed here. 
 
Method 
 
virtual 
 
Property 
 
read only 
TCollapsedRanges Methods 
Description 
Add 
Adds new collapsed range. 
Deletes all collapsed ranges. 
Creates and initializes a TCollapsedRanges instance. 
Deletes collapsed range. 
Destroys an instance of TCollapsedRanges. 
Returns collapsed range at the specified aLine. 
Returns index of collapsed range at the specified aLine. 
Returns True if Line is visible. 
TCollapsedRanges Properties 
Description 
Indicates number of collapsed ranges. 
Provides indexed access to the collapsed ranges. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!