Skip to main content

RichEditSelection.goToLineEnd Method

Moves the cursor to the end of the line and allows you to extend the selection.

#Declaration

TypeScript
goToLineEnd(
    extendSelection?: boolean
): void

#Parameters

Name Type Description
extendSelection boolean

true to extend the selection; otherwise, false.

#Remarks

richEdit.selection.goToLineEnd(true);

Refer to the following section for more information: Client Selection.

See Also