Alsing.Windows.Forms.SyntaxBox.EditViewControl.Undo C# (CSharp) Method

Undo() public method

Undo last edit action. (control + z)
public Undo ( ) : void
return void
        public void Undo()
        {
            TextPoint p = Document.Undo();
            if (p.X != - 1 && p.Y != - 1)
            {
                Caret.Position = p;
                Selection.ClearSelection();
                ScrollIntoView();
            }
        }