public bool DeleteSelectedText() { if (SelectedText.IsEmpty) { return(false); } TextLines.DeleteInBounds(SelectedText); CurrentPosition = new TextPosition(SelectedText.RealStart); SelectedText.Invalidate(); return(true); }
public void UpdateAll() { SelectedText.Invalidate(); CurrentPosition = new TextPosition(); }