Back to Devexpress

RichEditSelection.goToParagraphStart Method

aspnet-js-richeditselection-a1aacdba.md

latest936 B
Original Source

RichEditSelection.goToParagraphStart Method

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

Declaration

ts
goToParagraphStart(
    extendSelection?: boolean
): void

Parameters

NameTypeDescription
extendSelectionboolean

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.

javascript
richEdit.selection.goToParagraphStart(true);

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

See Also

RichEditSelection Class

RichEditSelection Members