C# Class PReview.GitDiffMarginCommandHandler

Inheritance: TextViewCommandFilter
Datei anzeigen Open project: laurentkempe/PReview

Public Methods

Method Description
GitDiffMarginCommandHandler ( Microsoft.VisualStudio.TextManager.Interop.IVsTextView textViewAdapter, IVsEditorAdaptersFactoryService editorAdaptersFactoryService, ITextView textView ) : System

Protected Methods

Method Description
HandlePreExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, IntPtr pvaIn, IntPtr pvaOut ) : bool
QueryCommandStatus ( System.Guid &commandGroup, uint commandId ) : Microsoft.VisualStudio.OLE.Interop.OLECMDF

Private Methods

Method Description
CompareToHead ( ) : void
CompareToIndex ( ) : void
GetDiffViewModelToMoveTo ( uint commandId, DiffMarginViewModelBase viewModel ) : EditorDiffViewModel
ToggleCompareToIndex ( ) : void
TryGetMarginViewModel ( EditorDiffMarginViewModel &viewModel ) : bool

Method Details

GitDiffMarginCommandHandler() public method

public GitDiffMarginCommandHandler ( Microsoft.VisualStudio.TextManager.Interop.IVsTextView textViewAdapter, IVsEditorAdaptersFactoryService editorAdaptersFactoryService, ITextView textView ) : System
textViewAdapter Microsoft.VisualStudio.TextManager.Interop.IVsTextView
editorAdaptersFactoryService IVsEditorAdaptersFactoryService
textView ITextView
return System

HandlePreExec() protected method

protected HandlePreExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, IntPtr pvaIn, IntPtr pvaOut ) : bool
commandGroup System.Guid
commandId uint
executionOptions Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT
pvaIn System.IntPtr
pvaOut System.IntPtr
return bool

QueryCommandStatus() protected method

protected QueryCommandStatus ( System.Guid &commandGroup, uint commandId ) : Microsoft.VisualStudio.OLE.Interop.OLECMDF
commandGroup System.Guid
commandId uint
return Microsoft.VisualStudio.OLE.Interop.OLECMDF