Skip to content

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.

Declaration
public readonly struct CellRange
Declaration
public readonly int StartColumn
Declaration
public readonly int StartRow
Declaration
public readonly int EndColumn
Declaration
public readonly int EndRow
Declaration
public bool Contains(int column, int row)

System.Boolean

Type Name
System.Int32 column
System.Int32 row

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(CellRange other)

System.Boolean: true if the current object is equal to the other parameter; otherwise, false.

Type Name Description
DarkEffekt.Terminal.CellRange other An object to compare with this object.

Indicates whether this instance and a specified object are equal.

Declaration
public override bool Equals(object obj)

System.Boolean: true if obj and this instance are the same type and represent the same value; otherwise, false.

Type Name Description
System.Object obj The object to compare with the current instance.

Returns the hash code for this instance.

Declaration
public override int GetHashCode()

System.Int32: A 32-bit signed integer that is the hash code for this instance.

Returns the fully qualified type name of this instance.

Declaration
public override string ToString()

System.String: The fully qualified type name.