ICSharpCode.TextEditor.TextEditorControl.Undo C# (CSharp) 메소드

Undo() 공개 메소드

public Undo ( ) : void
리턴 void
		public void Undo()
		{
			if (Document.ReadOnly) {
				return;
			}
			if (Document.UndoStack.CanUndo) {
				BeginUpdate();
				Document.UndoStack.Undo();
				
				Document.RequestUpdate(new TextAreaUpdate(TextAreaUpdateType.WholeTextArea));
				this.primaryTextArea.TextArea.UpdateMatchingBracket();
				if (secondaryTextArea != null) {
					this.secondaryTextArea.TextArea.UpdateMatchingBracket();
				}
				EndUpdate();
			}
		}
		

Usage Example

예제 #1
0
 public void Undo()
 {
     _editor.Undo();
 }
All Usage Examples Of ICSharpCode.TextEditor.TextEditorControl::Undo