C# Class Visual64TassEditor.Formatter.Visual64TassCommandTarget

Inheritance: IOleCommandTarget
显示文件 Open project: moozzyk/VintageStudio

Public Methods

Method Description
Exec ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
QueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
Visual64TassCommandTarget ( IWpfTextView wpfTextView, IVsTextView textViewAdapter ) : System

Private Methods

Method Description
CommentSelection ( ) : void
FormatCode ( ) : void
FormatLine ( Tokenizer tokenizer, string rawLine ) : string
FormatLine ( ) : void
PadToColumn ( StringBuilder line, int column ) : StringBuilder
RunSelectionAction ( Func func ) : void
SetCaret ( ) : void
UncommentSelection ( ) : void

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

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

Visual64TassCommandTarget() public method

public Visual64TassCommandTarget ( IWpfTextView wpfTextView, IVsTextView textViewAdapter ) : System
wpfTextView IWpfTextView
textViewAdapter IVsTextView
return System