RichEditSelection.goToLineStart Method

Moves the cursor to the start of the line in which the cursor is located and allows you to extend the selection.

Declaration

goToLineStart(
    extendSelection?: boolean
): void

Parameters

Name Type Description
extendSelection boolean

true to extend the selection; otherwise, false.

Remarks

Usage example:

richEdit.selection.goToLineStart(true);
See Also