protected bool IsSameHelperFamily(object obj)
{
var other = obj as ScintillaHelperBase;
if (other == null)
return false;
if (this._scintilla == null || other._scintilla == null)
return false;
if (!this._scintilla.Equals(other._scintilla))
return false;
return GetType().IsAssignableFrom(obj.GetType());
}