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

Inheritance: ICompoundUndoAction, ICompoundUndoActionOptions
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode 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 méthode

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

CompoundUndoAction() public méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Open() public méthode

public Open ( string name ) : void
name string
Résultat void

SetMergeDirections() public méthode

public SetMergeDirections ( bool mergePrevious, bool mergeNext ) : void
mergePrevious bool
mergeNext bool
Résultat void

SetUndoAfterClose() public méthode

public SetUndoAfterClose ( bool undoAfterClose ) : void
undoAfterClose bool
Résultat void