private void TextEditorCaret_PositionChanged(object sender, EventArgs e) { try { OnEditorCaretChanged?.Invoke(sender as Caret); } catch (Exception ex) { Debug.WriteLine(ex.Message); } }
public new void Focus() { OnEditorCaretChanged?.Invoke(TE.TextArea.Caret); OnErrorListUpdated?.Invoke(Errors); }