deleteLines method

bool deleteLines()

Deletes the selected lines, or the current line if there is no selection.

Implementation

bool deleteLines() {
  final changed = _model.deleteLines();
  if (changed) {
    notifyListeners();
  }
  return changed;
}