Back to Devexpress

RichEditSelection.goToPrevWord Method

aspnet-js-richeditselection-75402e0b.md

latest810 B
Original Source

RichEditSelection.goToPrevWord Method

Moves the cursor to the previous word and allows you to extend the selection.

Declaration

ts
goToPrevWord(
    extendSelection?: boolean
): void

Parameters

NameTypeDescription
extendSelectionboolean

true to extend the selection; otherwise, false.

|

Remarks

The method treats most punctuation marks as separate words.

javascript
richEdit.selection.goToPrevWord(true);

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

See Also

RichEditSelection Class

RichEditSelection Members