GhosttyTerminalSelection class final

Inclusive terminal text selection.

Annotations

Constructors

GhosttyTerminalSelection({required GhosttyTerminalCellPosition base, required GhosttyTerminalCellPosition extent})
const

Properties

base GhosttyTerminalCellPosition
Anchor cell where the selection gesture started.
final
end GhosttyTerminalCellPosition
Inclusive last cell of the normalized selection.
no setter
extent GhosttyTerminalCellPosition
Active edge of the selection, inclusive.
final
hashCode int
The hash code for this object.
no setteroverride
isCollapsed bool
Whether the selection covers exactly one cell.
no setter
normalized GhosttyTerminalSelection
Returns this selection ordered from top-left to bottom-right.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start GhosttyTerminalCellPosition
Inclusive first cell of the normalized selection.
no setter

Methods

contains(int row, int col) bool
Returns whether the inclusive selection covers the given cell.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override