C# 클래스 AsmHighlighter.AsmHighlighterLanguageService

상속: Microsoft.VisualStudio.Package.LanguageService
파일 보기 프로젝트 열기: Trass3r/AsmHighlighter 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

AsmHighlighterLanguageService() 공개 메소드

public AsmHighlighterLanguageService ( ) : System
리턴 System

ComputeDataTipOnContext() 공개 메소드

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

CreateSource() 공개 메소드

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

Format() 공개 메소드

public Format ( IVsTextLayer pTextLayer, TextSpan ptsSel ) : int
pTextLayer IVsTextLayer
ptsSel TextSpan
리턴 int

GetColorableItem() 공개 메소드

public GetColorableItem ( int index, IVsColorableItem &item ) : int
index int
item IVsColorableItem
리턴 int

GetDataTip() 공개 메소드

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.
리턴 int

GetFormatFilterList() 공개 메소드

public GetFormatFilterList ( ) : string
리턴 string

GetItemCount() 공개 메소드

public GetItemCount ( int &count ) : int
count int
리턴 int

GetLanguagePreferences() 공개 메소드

public GetLanguagePreferences ( ) : Microsoft.VisualStudio.Package.LanguagePreferences
리턴 Microsoft.VisualStudio.Package.LanguagePreferences

GetPairExtent() 공개 메소드

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

GetScanner() 공개 메소드

public GetScanner ( IVsTextLines buffer ) : IScanner
buffer IVsTextLines
리턴 IScanner

GetWordExtent() 공개 메소드

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

IsDebugging() 공개 메소드

public IsDebugging ( ) : bool
리턴 bool

ParseSource() 공개 메소드

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

UpdateLanguageContext() 공개 메소드

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

ValidateBreakpointLocation() 공개 메소드

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.
리턴 int