C# Class AsmHighlighter.AsmHighlighterLanguageService

Inheritance: Microsoft.VisualStudio.Package.LanguageService
Exibir arquivo Open project: Trass3r/AsmHighlighter Class Usage Examples

Public Methods

Method Description
AsmHighlighterLanguageService ( ) : System
ComputeDataTipOnContext ( IVsTextLines textLines, int line, int col, TextSpan &span, string &tipText ) : int
CreateSource ( IVsTextLines buffer ) : Microsoft.VisualStudio.Package.Source
Format ( IVsTextLayer pTextLayer, TextSpan ptsSel ) : int
GetColorableItem ( int index, IVsColorableItem &item ) : int
GetDataTip ( IVsTextLayer pTextLayer, TextSpan ptsSel, TextSpan ptsTip, string &pbstrText ) : int

Displays a tip over a span of text when the mouse hovers over this location.

GetFormatFilterList ( ) : string
GetItemCount ( int &count ) : int
GetLanguagePreferences ( ) : Microsoft.VisualStudio.Package.LanguagePreferences
GetPairExtent ( IVsTextLayer pTextLayer, TextAddress ta, TextSpan pts ) : int
GetScanner ( IVsTextLines buffer ) : IScanner
GetWordExtent ( IVsTextLayer pTextLayer, TextAddress ta, WORDEXTFLAGS flags, TextSpan pts ) : int
IsDebugging ( ) : bool
ParseSource ( Microsoft.VisualStudio.Package.ParseRequest req ) : Microsoft.VisualStudio.Package.AuthoringScope
UpdateLanguageContext ( LanguageContextHint hint, IVsTextLines buffer, TextSpan ptsSelection, Microsoft context ) : void
ValidateBreakpointLocation ( IVsTextBuffer buffer, int line, int col, TextSpan pCodeSpan ) : int

Validates the breakpoint location.

Method Details

AsmHighlighterLanguageService() public method

public AsmHighlighterLanguageService ( ) : System
return System

ComputeDataTipOnContext() public method

public ComputeDataTipOnContext ( IVsTextLines textLines, int line, int col, TextSpan &span, string &tipText ) : int
textLines IVsTextLines
line int
col int
span TextSpan
tipText string
return int

CreateSource() public method

public CreateSource ( IVsTextLines buffer ) : Microsoft.VisualStudio.Package.Source
buffer IVsTextLines
return Microsoft.VisualStudio.Package.Source

Format() public method

public Format ( IVsTextLayer pTextLayer, TextSpan ptsSel ) : int
pTextLayer IVsTextLayer
ptsSel TextSpan
return int

GetColorableItem() public method

public GetColorableItem ( int index, IVsColorableItem &item ) : int
index int
item IVsColorableItem
return int

GetDataTip() public method

Displays a tip over a span of text when the mouse hovers over this location.
public GetDataTip ( IVsTextLayer pTextLayer, TextSpan ptsSel, TextSpan ptsTip, string &pbstrText ) : int
pTextLayer IVsTextLayer [in] An object representing the text file.
ptsSel TextSpan [in] Span of text relevant to the specified text layer. For more information, see .
ptsTip TextSpan [out] Returns a span of text to center the tip over. For more information, see .
pbstrText string [out] Returns the text of the tip to display.
return int

GetFormatFilterList() public method

public GetFormatFilterList ( ) : string
return string

GetItemCount() public method

public GetItemCount ( int &count ) : int
count int
return int

GetLanguagePreferences() public method

public GetLanguagePreferences ( ) : Microsoft.VisualStudio.Package.LanguagePreferences
return Microsoft.VisualStudio.Package.LanguagePreferences

GetPairExtent() public method

public GetPairExtent ( IVsTextLayer pTextLayer, TextAddress ta, TextSpan pts ) : int
pTextLayer IVsTextLayer
ta TextAddress
pts TextSpan
return int

GetScanner() public method

public GetScanner ( IVsTextLines buffer ) : IScanner
buffer IVsTextLines
return IScanner

GetWordExtent() public method

public GetWordExtent ( IVsTextLayer pTextLayer, TextAddress ta, WORDEXTFLAGS flags, TextSpan pts ) : int
pTextLayer IVsTextLayer
ta TextAddress
flags WORDEXTFLAGS
pts TextSpan
return int

IsDebugging() public method

public IsDebugging ( ) : bool
return bool

ParseSource() public method

public ParseSource ( Microsoft.VisualStudio.Package.ParseRequest req ) : Microsoft.VisualStudio.Package.AuthoringScope
req Microsoft.VisualStudio.Package.ParseRequest
return Microsoft.VisualStudio.Package.AuthoringScope

UpdateLanguageContext() public method

public UpdateLanguageContext ( LanguageContextHint hint, IVsTextLines buffer, TextSpan ptsSelection, Microsoft context ) : void
hint LanguageContextHint
buffer IVsTextLines
ptsSelection TextSpan
context Microsoft
return void

ValidateBreakpointLocation() public method

Validates the breakpoint location.
public ValidateBreakpointLocation ( IVsTextBuffer buffer, int line, int col, TextSpan pCodeSpan ) : int
buffer IVsTextBuffer The buffer.
line int The line.
col int The col.
pCodeSpan TextSpan The TextSpans to update.
return int