TSRichViewEdit.PriorCurHeading

<< Click to display table of contents >>

TSRichViewEdit.PriorCurHeading

Moves the caret to the beginning of the previous heading.

function PriorCurHeading: Boolean;

The search is started from the item before 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:

NextCurHeading