TCustomRichViewEdit.GetCurrentCheckpoint

<< Click to display table of contents >>

TCustomRichViewEdit.GetCurrentCheckpoint

Returns a checkpoint associated with the item at position of the caret, or nil if this item does not have an 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:

GetCheckpointAtCaret (returns a checkpoint exactly at the caret position; this method is usually more convenient);

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

GetItemCheckpoint (returns a checkpoint of the specified item).

See also properties:

CurItemNo.

See also:

"Checkpoints".