TCustomRichViewEdit.SelectCurrentLine

<< Click to display table of contents >>

TCustomRichViewEdit.SelectCurrentLine

Selects the line containing the caret.

procedure SelectCurrentLine;

(introduced in version 1.6)

The line beginning and ending position may depend on word wrapping.

This method repaints document, moves caret to the end of line and generates OnSelect event.

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

See also methods:

SelectCurrentWord;

GetSelText.

See also:

Selecting in RichView document.