wrapSelectionCommand method

TextCommandResult wrapSelectionCommand(
  1. List<String> graphemes, {
  2. required List<String> before,
  3. List<String>? after,
})

Implementation

TextCommandResult wrapSelectionCommand(
  List<String> graphemes, {
  required List<String> before,
  List<String>? after,
}) {
  return wrapSelection(
    graphemes,
    cursorOffset: cursorOffset,
    selectionBaseOffset: selectionBaseOffset,
    selectionExtentOffset: selectionExtentOffset,
    before: before,
    after: after,
  );
}