public bool SameTextContent(WordSpan another, TextBuffer textBuffer)
{
if (another.len == this.len)
{
for (int i = another.len - 1; i >= 0; --i)
{
if (this.GetChar(i, textBuffer) != another.GetChar(i, textBuffer))
{
return(false);
}
}
return(true);
}
return(false);
//return this.startAt == another.startAt && this.len == another.len;
}