C# Class Microsoft.VisualStudio.R.Package.Debugger.DataTips.DataTipTextViewFilter

Inheritance: IOleCommandTarget, IVsTextViewFilter, IDisposable
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
GetDataTipText ( TextSpan pSpan, string &pbstrText ) : int
GetOrCreate ( IWpfTextView textView, IVsEditorAdaptersFactoryService adapterService, IVsDebugger debugger ) : DataTipTextViewFilter
GetPairExtents ( int iLine, int iIndex, TextSpan pSpan ) : int
GetWordExtent ( int iLine, int iIndex, uint dwFlags, TextSpan pSpan ) : int
QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
TryGet ( IWpfTextView textView ) : DataTipTextViewFilter

Private Methods

Method Description
DataTipTextViewFilter ( IWpfTextView textView, IVsEditorAdaptersFactoryService adapterService, IVsDebugger debugger ) : System
LineAndColumnNumberToSnapshotPoint ( ITextSnapshot snapshot, int lineNumber, int columnNumber ) : SnapshotPoint
SnapshotPointToLineAndColumnNumber ( SnapshotPoint snapshotPoint, int &lineNumber, int &columnNumber ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Exec() public method

public Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
pguidCmdGroup System.Guid
nCmdID uint
nCmdexecopt uint
pvaIn System.IntPtr
pvaOut System.IntPtr
return int

GetDataTipText() public method

public GetDataTipText ( TextSpan pSpan, string &pbstrText ) : int
pSpan TextSpan
pbstrText string
return int

GetOrCreate() public static method

public static GetOrCreate ( IWpfTextView textView, IVsEditorAdaptersFactoryService adapterService, IVsDebugger debugger ) : DataTipTextViewFilter
textView IWpfTextView
adapterService IVsEditorAdaptersFactoryService
debugger IVsDebugger
return DataTipTextViewFilter

GetPairExtents() public method

public GetPairExtents ( int iLine, int iIndex, TextSpan pSpan ) : int
iLine int
iIndex int
pSpan TextSpan
return int

GetWordExtent() public method

public GetWordExtent ( int iLine, int iIndex, uint dwFlags, TextSpan pSpan ) : int
iLine int
iIndex int
dwFlags uint
pSpan TextSpan
return int

QueryStatus() public method

public QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
pguidCmdGroup System.Guid
cCmds uint
prgCmds OLECMD
pCmdText System.IntPtr
return int

TryGet() public static method

public static TryGet ( IWpfTextView textView ) : DataTipTextViewFilter
textView IWpfTextView
return DataTipTextViewFilter