Exemplo n.º 1
0
 public abstract void Undo(TextViewControl textView);
Exemplo n.º 2
0
            public override void Undo(TextViewControl textView)
            {
                ((TextEditControl)textView).UndoSaveSelection(); // hack

                textView.SetSelection(
                    selectStartLine,
                    selectStartChar,
                    selectEndLine,
                    selectEndCharPlusOne,
                    selectionStartIsActive);
            }
Exemplo n.º 3
0
 public override void Undo(TextViewControl textView)
 {
     textView.ReplaceRangeAndSelect(
         StartLine,
         StartChar,
         ReplacedEndLine,
         ReplacedEndCharPlusOne,
         Deleted,
         1);
 }
Exemplo n.º 4
0
 public SelectionUndoRecord(TextViewControl textView)
 {
     textView.GetSelectionExtent(
         out selectStartLine,
         out selectStartChar,
         out selectEndLine,
         out selectEndCharPlusOne,
         out selectionStartIsActive);
 }
Exemplo n.º 5
0
 public override void Undo(TextViewControl textView)
 {
 }