deleteBackward method

bool deleteBackward({
  1. bool word = false,
  2. bool coalesce = false,
})

Deletes backward from the cursor or removes the current selection.

Implementation

bool deleteBackward({bool word = false, bool coalesce = false}) {
  final changed = _model.deleteBackward(word: word, coalesce: coalesce);
  if (changed) {
    notifyListeners();
  }
  return changed;
}