splitLine method

bool splitLine()

Splits the current line at the cursor, or replaces the current selection with a newline.

Implementation

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