Skip to main content

RichEditSelection.goToNextWord Method

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

Declaration

goToNextWord(
    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.goToNextWord(true);

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

See Also