protected virtual void OnCaretChange(object sender) { if (CaretChange != null) CaretChange(this, null); }