selectionExtent property

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

Active extent position of the current selection, if any.

Implementation

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