IVsContainedLanguageColorizer Interface

 

Provides colorization for line fragments.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("88105779-D75B-459E-B7AD-78F63BD40714")]
public interface IVsContainedLanguageColorizer

NameDescription
System_CAPS_pubmethodColorizeLineFragment(Int32, Int32, Int32, String, Int32, UInt32, Int32)

Colorizes the specified line fragment or text.

This interface represents a colorizer to be used for code blocks that are contained within a larger document. An implementation of this interface typically refers to the secondary buffer associated with a contained language in order to complete the colorization of a line.

Notes to Implementers:

This interface is typically implemented on the same object that implements a language service's primary colorizer.

Notes to Callers:

This interface is typically obtained by calling the QueryInterface method on an IVsColorizer object or casting the IVsColorizer object to the IVsContainedLanguageColorizer interface.

Return to top
Show: