RichEditSelection.goToPrevWord Method
Moves the cursor to the previous word and allows you to extend the selection.
Declaration
goToPrevWord(
extendSelection?: boolean
): void
Parameters
Name | Type | Description |
---|---|---|
extendSelection | boolean | true to extend the selection; otherwise, false. |
Remarks
The method treats most punctuation marks as separate words.
richEdit.selection.goToPrevWord(true);
Refer to the following section for more information: Client Selection.
See Also