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

Inheritance: IOleCommandTarget
Afficher le fichier Open project: tgjones/HlslTools

Méthodes publiques

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

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

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
Résultat int

FormatCommandTarget() public méthode

public FormatCommandTarget ( IVsTextView adapter, IWpfTextView textView, IHlslOptionsService optionsService ) : System
adapter IVsTextView
textView IWpfTextView
optionsService IHlslOptionsService
Résultat System

QueryStatus() public méthode

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