GoToCheckpoint Function

<< Click to display table of contents >>

GoToCheckpoint Function

Moves the caret in rv to the checkpoint having the specified name. Optionally, can scroll the editor to show the marked item in the center.

Unit RichViewActions;

function GoToCheckpoint(rv: TCustomRichViewEdit;

  const CPName: TRVUnicodeString;
  ScrollToCenter: Boolean = False): Boolean;

Returns True if the caret was successfully moved. Returns False if the checkpoint is not found.

This function is used in TrvActionInsertHyperlink.GoToLink methods.