C# Class Microsoft.Languages.Editor.Undo.CompoundUndoAction

Inheritance: ICompoundUndoAction, ICompoundUndoActionOptions
Mostrar archivo Open project: Microsoft/RTVS

Public Methods

Method Description
Commit ( ) : void

Marks action as successful. Dispose will place the undo unit on the undo stack.

CompoundUndoAction ( ITextView textView, IEditorShell editorShell, bool addRollbackOnCancel = true ) : System.Diagnostics
Dispose ( ) : void
Open ( string name ) : void
SetMergeDirections ( bool mergePrevious, bool mergeNext ) : void
SetUndoAfterClose ( bool undoAfterClose ) : void

Method Details

Commit() public method

Marks action as successful. Dispose will place the undo unit on the undo stack.
public Commit ( ) : void
return void

CompoundUndoAction() public method

public CompoundUndoAction ( ITextView textView, IEditorShell editorShell, bool addRollbackOnCancel = true ) : System.Diagnostics
textView ITextView
editorShell IEditorShell
addRollbackOnCancel bool
return System.Diagnostics

Dispose() public method

public Dispose ( ) : void
return void

Open() public method

public Open ( string name ) : void
name string
return void

SetMergeDirections() public method

public SetMergeDirections ( bool mergePrevious, bool mergeNext ) : void
mergePrevious bool
mergeNext bool
return void

SetUndoAfterClose() public method

public SetUndoAfterClose ( bool undoAfterClose ) : void
undoAfterClose bool
return void