TCustomRichViewEdit.GetCurrentCheckpoint

<< Click to display table of contents >>

TCustomRichViewEdit.GetCurrentCheckpoint

Returns checkpoint associated with the item at position of caret, or nil if this item does not have associated checkpoint.

function GetCurrentCheckpoint: TCheckPointData;

The same as TopLevelEditor.GetItemCheckpoint(TopLevelEditor.CurItemNo).

This method must be called only when the document is formatted.

See also methods:

SetCurrentCheckpointInfo (changes checkpoint of item at the position of caret, as an editing operation);

GetItemCheckpoint (returns checkpoint of the specified item).

See also properties:

CurItemNo.

See also:

"Checkpoints".