CellOffset class
A cell position in a buffer: column x and buffer row y, where row 0 is the oldest scrollback row (not the top of the screen).
Constructors
- CellOffset(int x, int y)
-
Creates the position of column
x, buffer rowy.const
Properties
Methods
-
isAfter(
CellOffset other) → bool -
Whether this position comes after
otherin reading order. -
isAfterOrSame(
CellOffset other) → bool -
Whether this position comes after
otheror is the same. -
isAtSameColumn(
CellOffset other) → bool -
Whether this position is in the same column as
other. -
isAtSameRow(
CellOffset other) → bool -
Whether this position is on the same row as
other. -
isBefore(
CellOffset other) → bool -
Whether this position comes before
otherin reading order. -
isBeforeOrSame(
CellOffset other) → bool -
Whether this position comes before
otheror is the same. -
isEqual(
CellOffset other) → bool -
Whether
otheris the same position. -
isWithin(
BufferRange range) → bool -
Whether
rangecontains this position. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override