public override void Dispose() { if (!IsDisposed) { Scintilla.ManagedRanges.Remove(this); Scintilla = null; IsDisposed = true; } }