Пример #1
0
        public static void ExpandSelectionRightTo(this TextBoxBase self, int n)
        {
            Range r = self.SelectedRange();

            r.ExpandRightTo(n);
            SelectText(self, r);
        }