Links
EControl Syntax Editor SDK
TLineNumbers Class

Represents line numbers properties container.

TLineNumbers = class(TPersistent);

ecSyntMemo

Line numbers are displayed on the gutter. Use line numbers properties to customize their position, font, visibility... Use TCustomSyntaxMemo.OnGetLineNumberStr event handle to specify user defined string as line number. 

Class TLineNumbers can not be used separately from TCustomSyntaxMemo. It is intended to group some properties and methods.

Topic 
Description 
The methods of the TLineNumbers class are listed here. 
The properties of the TLineNumbers class are listed here. 
 
Constructor 
 
virtual 
 
Property 
 
read only 
TLineNumbers Methods 
Description 
Creates and initializes a TLineNumbers instance. 
Destroys an instance of TLineNumbers. 
Returns string representation of the line number. 
TLineNumbers Properties 
Description 
Specifies horizontal alignment of the line number. 
Specifies whether width of associated band should be re-sized to fit line numbers. 
Band 
Specifies position of the line number on the gutter. 
Specifies number of the first numbered line. 
Font 
Specifies font of the line numbers. 
Specifies offset of the line number. 
Specifies index of the last numbered line. 
Specifies index of the first numbered line. 
Specifies lines numeration style. 
Indicates owner of the TLineNumbers object. 
Specifies font color of the line numbers for lines with gutter objects and expand buttons. 
Specifies vertical alignment of the line number. 
Specifies whether line numbers are visible. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!