Freigeben über


Colorizer(LanguageService, IVsTextLines, IScanner) Constructor

Definition

Initializes the Colorizer class.

public:
 Colorizer(Microsoft::VisualStudio::Package::LanguageService ^ svc, Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ buffer, Microsoft::VisualStudio::Package::IScanner ^ scanner);
public Colorizer (Microsoft.VisualStudio.Package.LanguageService svc, Microsoft.VisualStudio.TextManager.Interop.IVsTextLines buffer, Microsoft.VisualStudio.Package.IScanner scanner);
new Microsoft.VisualStudio.Package.Colorizer : Microsoft.VisualStudio.Package.LanguageService * Microsoft.VisualStudio.TextManager.Interop.IVsTextLines * Microsoft.VisualStudio.Package.IScanner -> Microsoft.VisualStudio.Package.Colorizer
Public Sub New (svc As LanguageService, buffer As IVsTextLines, scanner As IScanner)

Parameters

svc
LanguageService

[in] The language service.

buffer
IVsTextLines

[in] The IVsTextLines object that serves as the buffer for the colorizer.

scanner
IScanner

[in] The IScanner object that handles all parsing operations associated with syntax highlighting.

Remarks

The IScanner object is obtained from the GetScanner method.

Applies to