private void DoCaretUpdateNeededEvent() { if (CaretUpdateNeeded != null) { CaretUpdateNeeded.Invoke(this, new EventArgs()); } }
private void OnCaretUpdateNeeded() { UpdateLayout(); if (CaretUpdateNeeded != null) { CaretUpdateNeeded.Invoke(this, new EventArgs()); } }