Namespace: XmlNotepad
dead code! public Command Pop(){ // remove command without undoing it. if (pos>0){ pos--; if (pos < stack.Count){ stack.RemoveAt(pos); } if (StateChanged != null){ StateChanged(this, EventArgs.Empty); } } return this.Current;