TPlusGutter.BookmarkLine method
PlusMemo Help Send comments on this topic.
TPlusGutter.BookmarkLine method

Glossary Item Box

 

Applies to

TPlusGutter component

 

Declaration

type TBookmarkRange = 0..9;

function BookmarkLine(ALine: Integer; BookmarkIndex: TBookmarkRange): Boolean; virtual;

 

Description

This function toggles the bookmark at line ALine.  If this line is already bookmarked with index BookmarkIndex, it will be unbookmarked and the result returns False.  If not, the line will be bookmarked with index BookmarkIndex and the result is True.

 

See BookmarkPos topic for a way to place a bookmark at a given character position instead of a line number.