public override void Dispose()
        {
            if ((_flags & Flags.Disposed) != 0)
            {
                return;
            }

            _editing = false;
            if (_caret != null)
            {
                _caret.Dispose();
                _selectionShape.Dispose();
            }

            base.Dispose();
        }
 static new public void ClearStatic()
 {
     if (_caret != null)
     {
         _caret.Dispose();
     }
     if (_selectionShape != null)
     {
         _selectionShape.Dispose();
     }
     _caret          = null;
     _selectionShape = null;
     _nextBlink      = 0;
     onCopy          = null;
     onPaste         = null;
 }