RichEditSelection.goToPreviousLine Method

Moves the cursor to the previous line and allows you to extend the selection.

Declaration

goToPreviousLine(
    extendSelection?: boolean
): void

Parameters

Name Type Description
extendSelection boolean

true to extend the selection; otherwise, false.

Remarks

Usage example:

richEdit.selection.goToPreviousLine(true);
See Also