Skip to main content

RichEditSelection.goToParagraphStart Method

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

Declaration

goToParagraphStart(
    extendSelection?: boolean
): void

Parameters

Name Type Description
extendSelection boolean

true to extend the selection; otherwise, false.

Remarks

Moves the cursor to the start of the current paragraph. If the cursor is at the start of a paragraph, moves the cursor to the start of the previous paragraph.

richEdit.selection.goToParagraphStart(true);

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

See Also