RichEditSelection.goToLineEnd Method

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

Declaration

goToLineEnd(
    extendSelection?: boolean
): void

Parameters

Name Type Description
extendSelection boolean

true to extend the selection; otherwise, false.

Remarks

Usage example:

richEdit.selection.goToLineEnd(true);
See Also