C# 클래스 Microsoft.Languages.Editor.Undo.CompoundUndoAction

상속: ICompoundUndoAction, ICompoundUndoActionOptions
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
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

메소드 상세

Commit() 공개 메소드

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

CompoundUndoAction() 공개 메소드

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

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Open() 공개 메소드

public Open ( string name ) : void
name string
리턴 void

SetMergeDirections() 공개 메소드

public SetMergeDirections ( bool mergePrevious, bool mergeNext ) : void
mergePrevious bool
mergeNext bool
리턴 void

SetUndoAfterClose() 공개 메소드

public SetUndoAfterClose ( bool undoAfterClose ) : void
undoAfterClose bool
리턴 void