예제 #1
0
        public bool DeleteSelectedText()
        {
            if (SelectedText.IsEmpty)
            {
                return(false);
            }

            TextLines.DeleteInBounds(SelectedText);
            CurrentPosition = new TextPosition(SelectedText.RealStart);
            SelectedText.Invalidate();
            return(true);
        }