selectionBase property

({int column, int line})? get selectionBase

Anchor position of the current selection, if any.

Implementation

({int line, int column})? get selectionBase => _selectionStart == null
    ? null
    : (line: _selectionStart!.$2, column: _selectionStart!.$1);