[]
Represents a range of characters in a ITextLine.
public struct TextLineFragment : IEquatable<TextLineFragment>
Initialize a new instance of the TextLineFragment class.
public TextLineFragment(int lineIndex, int startIndex, int length)
lineIndex intThe value of LineIndex.
startIndex intThe value of StartIndex.
length intThe value of Length.
The number of ITextChars in this fragment. A value of -1 indicates that this fragment includes all characters from StartIndex to the end of the line.
public int Length
public int LineIndex
public int StartIndex
public bool Equals(TextLineFragment other)
other TextLineFragmentpublic override bool Equals(object obj)
obj objectpublic override int GetHashCode()
Tests whether two specified TextLineFragment objects are equivalent.
public static bool operator ==(TextLineFragment v1, TextLineFragment v2)
Tests whether two specified TextLineFragment objects are NOT equivalent.
public static bool operator !=(TextLineFragment v1, TextLineFragment v2)