C# Class PowerStudio.LanguageService

Inheritance: IVsLanguageInfo
Show file Open project: IntelliTect/PowerStudio

Public Methods

Method Description
GetCodeWindowManager ( IVsCodeWindow pCodeWin, IVsCodeWindowManager &ppCodeWinMgr ) : int

Allows a language to add adornments to a code editor.

GetColorizer ( IVsTextLines pBuffer, IVsColorizer &ppColorizer ) : int

Returns the colorizer.

GetFileExtensions ( string &pbstrExtensions ) : int

Returns the file extensions belonging to this language.

GetLanguageName ( string &bstrName ) : int

Returns the name of the programming language.

Method Details

GetCodeWindowManager() public method

Allows a language to add adornments to a code editor.
public GetCodeWindowManager ( IVsCodeWindow pCodeWin, IVsCodeWindowManager &ppCodeWinMgr ) : int
pCodeWin IVsCodeWindow [in] The interface for the requested code editor manager.
ppCodeWinMgr IVsCodeWindowManager [out] Returns an object.
return int

GetColorizer() public method

Returns the colorizer.
public GetColorizer ( IVsTextLines pBuffer, IVsColorizer &ppColorizer ) : int
pBuffer IVsTextLines [in] The interface for the requested colorizer.
ppColorizer IVsColorizer [out] Returns an object.
return int

GetFileExtensions() public method

Returns the file extensions belonging to this language.
public GetFileExtensions ( string &pbstrExtensions ) : int
pbstrExtensions string [out] Returns a BSTR that contains the requested file extensions.
return int

GetLanguageName() public method

Returns the name of the programming language.
public GetLanguageName ( string &bstrName ) : int
bstrName string [out] Returns a BSTR that contains the language name.
return int