selectCurrentLine method

void selectCurrentLine()

Selects the current line, or expands the current selection to full lines.

Implementation

void selectCurrentLine() {
  final before = _TextAreaControllerSnapshot.capture(_model);
  _model.selectCurrentLine();
  if (!before.matches(_model)) {
    notifyListeners();
  }
}