ICSharpCode.TextEditor.TextEditorControl.Redo C# (CSharp) Method

Redo() public method

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

Usage Example

コード例 #1
0
 public void Redo(TextEditorControl editor) { editor.Redo(); }
All Usage Examples Of ICSharpCode.TextEditor.TextEditorControl::Redo