C# Class ShaderTools.VisualStudio.Hlsl.Formatting.FormatCommandTarget

Inheritance: IOleCommandTarget
Exibir arquivo Open project: tgjones/HlslTools

Public Methods

Method Description
Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
FormatCommandTarget ( IVsTextView adapter, IWpfTextView textView, IHlslOptionsService optionsService ) : System
QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int

Private Methods

Method Description
FormatAfterPaste ( ITextSnapshot curVersion ) : void
FormatSelection ( ) : void
FormatSpan ( int start, int length ) : void
Paste ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
TypeChar ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int

Method Details

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

FormatCommandTarget() public method

public FormatCommandTarget ( IVsTextView adapter, IWpfTextView textView, IHlslOptionsService optionsService ) : System
adapter IVsTextView
textView IWpfTextView
optionsService IHlslOptionsService
return System

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