Links
EControl Syntax Editor SDK
TUserRanges Class

Lists the user ranges (TUserRange objects) in the editor.

TUserRanges = class(TCollection);

ecSyntMemo

User ranges are intended to allow custom formatting over syntax highlighting provided by the TSyntAnalyzer. They may be used without syntactical analyzer. 

 

Use Active property to enable/disable user ranges.

Topic 
Description 
The methods of the TUserRanges class are listed here. 
The properties of the TUserRanges class are listed here. 
 
Method 
 
virtual 
 
protected 
 
Property 
 
read only 
TUserRanges Methods 
Description 
Add 
Creates a new TUserRange instance and adds it to the Items array. 
Creates a new TUserRange instance, adds it to the Items array and initialize it's properties. 
Applies styles of user ranges at the specified position. 
Creates and initializes a TUserRanges instance. 
Destroys an instance of TUserRanges. 
Looks for the style object for the specified style name. 
Looks for the collapsible user range that starts at the specified line. 
Looks for the user range line separator at the specified line. 
Picks line highlighting attributes of the user ranges for the specified line. 
Returns collapsing state (only for user range's collapsing). 
Adds style entries at specified position. 
Loads user ranges from file. 
Returns user range at the specified position. 
Returns user range with specified exact bounds or if SelLength is 0, returns first user range that contains SelStart position. 
Saves user ranges to file. 
TUserRanges Properties 
Description 
Disables/enables custom user ranges. 
Provides indexed access to the items in the collection. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!