Skip to main content
A newer version of this page is available. .

RichEditSelection.goToParagraphStart Method

Moves the cursor to the start of the paragraph in which the cursor is located 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

Usage example:


richEdit.selection.goToParagraphStart(true);
See Also