Links
EControl Syntax Editor SDK
TBookmark Class

TBookmark represents a single bookmark in the syntax memo.

TBookmark = class(TCustomGutterObject);

ecSyntMemo

You may access bookmark objects through TCustomSyntaxMemo.BookmarkObj collection. TBookmark inherits all properties of the TCustomGutterObject such as: line highlighting properties, image, hint ... 

TBookmark is associated with the specified Position as against TGutterObject

You may manage bookmarks using TCustomSyntaxMemo.Bookmarks property. To initialize properties of new bookmark use OnSetBookmark event handler.

Topic 
Description 
The methods of the TCustomGutterObject class are listed here. 
The properties of the TCustomGutterObject class are listed here. 
The events of the TCustomGutterObject class are listed here. 
TBookmark Class
Topic 
Description 
The properties of the TBookmark class are listed here. 
 
Method 
 
virtual 
 
protected 
 
Property 
 
Event 
TCustomGutterObject Events 
Description 
Occurs when gutter object is checked to be associated with the specified line. 
Occurs when the user clicks the gutter object's image (left mouse button). 
TCustomGutterObject Methods 
Description 
Copies the contents of another, similar object. 
Checks whether gutter object is associated with the specified line. 
Creates and initializes a TCustomGutterObject instance. 
Creates an instance of the gutter object. 
Destroys an instance of TCustomGutterObject. 
TCustomGutterObject Properties 
Description 
Band 
Specifies position of the image on the guter. 
Specifies back ground color of line highlighting. 
Specifies cursor which selected when mouse is over gutter image. 
Specifies fore ground color of line highlighting. 
Hint 
Contains the text string that can appear when the user moves the mouse over the image. 
Determines which image appears on the gutter. 
Lists the images that can appear on the gutter. 
Line 
Specifies line where gutter object is placed. 
Specifies offset of the image. 
Name 
Specifies name of the gutter object. 
Identifies the pop-up menu associated with the gutter object. 
Specifies whether style of the marked block (selected block) will be formed using line highlighting colors. 
Specifies sub-line where to show gutter icon. If this property is equal to -1 gutter icon will be displayed at the center of whole line height. 
Tag 
Stores an integer value as part of a gutter object. 
TBookmark Class
TBookmark Class 
Description 
Specifies whether bookmark may be deleted with text in which it is set. 
Specifies bookmark index. 
Indicates whether position of the bookmark was changed. 
Specifies position of the bookmark in the syntax memo's text. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!