Skip to main content
A newer version of this page is available. .

RichEditSelection.selectLine Method

Selects the line in which the cursor is located and allows you to extend the entire selection with the currently existing selection.

Declaration

selectLine(
    extendSelection?: boolean
): void

Parameters

Name Type Description
extendSelection boolean

true to extend the selection; otherwise, false.

Remarks

Usage example:


richEdit.selection.selectLine(true);
See Also