Struct CellRange
A run of cells in reading order, from a start cell through an end cell inclusive, the shape a terminal selection takes. Rows below 0 reach into scrollback. The two ends are kept in order whichever way they are given.
Assembly: DarkEffekt.Terminal.Core
Section titled “Assembly: DarkEffekt.Terminal.Core”public readonly struct CellRangeFields
Section titled “Fields”StartColumn
Section titled “StartColumn”public readonly int StartColumnStartRow
Section titled “StartRow”public readonly int StartRowEndColumn
Section titled “EndColumn”public readonly int EndColumnEndRow
Section titled “EndRow”public readonly int EndRowMethods
Section titled “Methods”Contains(int, int)
Section titled “Contains(int, int)”public bool Contains(int column, int row)Returns
Section titled “Returns”System.Boolean
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Int32 |
column |
System.Int32 |
row |
Equals(CellRange)
Section titled “Equals(CellRange)”Indicates whether the current object is equal to another object of the same type.
public bool Equals(CellRange other)Returns
Section titled “Returns”System.Boolean: true if the current object is equal to the other parameter; otherwise, false.
Parameters
Section titled “Parameters”| Type | Name | Description |
|---|---|---|
| DarkEffekt.Terminal.CellRange | other | An object to compare with this object. |
Equals(object)
Section titled “Equals(object)”Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)Returns
Section titled “Returns”System.Boolean: true if obj and this instance are the same type and represent the same value; otherwise, false.
Parameters
Section titled “Parameters”| Type | Name | Description |
|---|---|---|
System.Object |
obj | The object to compare with the current instance. |
GetHashCode()
Section titled “GetHashCode()”Returns the hash code for this instance.
public override int GetHashCode()Returns
Section titled “Returns”System.Int32: A 32-bit signed integer that is the hash code for this instance.
ToString()
Section titled “ToString()”Returns the fully qualified type name of this instance.
public override string ToString()Returns
Section titled “Returns”System.String: The fully qualified type name.