transformWordOrAdjacentCommand method
TextCommandResult
transformWordOrAdjacentCommand(
- List<
String> graphemes, { - required GraphemePredicate isWord,
- required String transform(
- 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,
);
}