public override bool Equals(object obj)
{
if (obj is Annotation)
{
// If another annotation has the same Scintilla
// control and line index--it is the same.
var a = (Annotation)obj;
if (a._scintilla == this._scintilla && a._lineIndex == this._lineIndex)
return true;
}
return false;
}