Skip to content

EditorView.moveByGroup method

EditorView › moveByGroup

Official

Move a cursor position across the next group of letters or non-letter non-whitespace characters.

Signature:

moveByGroup(start: SelectionRange, forward: boolean): SelectionRange

Parameters:

Parameter Type Description
start SelectionRange The start selection range.
forward boolean Whether to move forward.

Returns: SelectionRangeThe new selection range.