moveCursorWordRight method

void moveCursorWordRight()

Moves the cursor one word to the right.

Implementation

void moveCursorWordRight() {
  if (_cursorPosition >= _text.length) return;
  _cursorPosition = _findNextWordBoundary(_cursorPosition);
  clearSelection();
  notifyListeners();
}