duplicateLinesAbove method

bool duplicateLinesAbove()

Duplicates the selected lines, or the current line, above the current block.

Implementation

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