Represents a range of indices in a text buffer.
public int End{ get }
Gets the exclusive end index of the range.
[ctor]public TextRange(int start, int length)
Initializes a new instance of the TextRange struct.
public bool Contains(int index)
Determines whether the specified index is within this range.
public bool Overlaps(TextRange other)
Determines whether this range overlaps with another range.
public bool Equals()
public override bool Equals()
public override int GetHashCode()
public readonly int start
The starting index of the range.
public readonly int length
The number of elements in the range.