TSRichViewEdit.NextCurHeading

<< Click to display table of contents >>

TSRichViewEdit.NextCurHeading

Moves the caret to the beginning of the next heading.

function NextCurHeading: Boolean;

The search is started from the next item after the caret position (RichViewEdit.TopLevelEditor.RVData, RichViewEdit.TopLevelEditor.CurItemNo).

If an item is found, the method moves the caret and returns True.

Heading is a paragraph with OutlineLevel property > 0.

See also:

PriorCurHeading