Skip to main content

RichEditSelection.goToParagraphEnd Method

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

Declaration

goToParagraphEnd(
    extendSelection?: boolean
): void

Parameters

Name Type Description
extendSelection boolean

true to extend the selection; otherwise, false.

Remarks

Moves the cursor to the end of the current paragraph. If the cursor is at the end of a paragraph, moves the cursor to the end of the next paragraph.

richEdit.selection.goToParagraphEnd(true);

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

See Also