transformWordOrAdjacentCommand method

TextCommandResult transformWordOrAdjacentCommand(
  1. List<String> graphemes, {
  2. required GraphemePredicate isWord,
  3. required String transform(
    1. String text
    ),
})

Implementation

TextCommandResult transformWordOrAdjacentCommand(
  List<String> graphemes, {
  required nav.GraphemePredicate isWord,
  required String Function(String text) transform,
}) {
  return transformWordOrAdjacent(
    graphemes,
    cursorOffset: cursorOffset,
    isWord: isWord,
    transform: transform,
  );
}