IVsColorizer Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implemented by the language client to assign color attributes to a span of text.
public interface class IVsColorizer
public interface class IVsColorizer
__interface IVsColorizer
[System.Runtime.InteropServices.Guid("6698EF11-FF17-441C-8C5D-BC24A339B37D")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsColorizer
[System.Runtime.InteropServices.Guid("6698EF11-FF17-441C-8C5D-BC24A339B37D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsColorizer
[<System.Runtime.InteropServices.Guid("6698EF11-FF17-441C-8C5D-BC24A339B37D")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsColorizer = interface
[<System.Runtime.InteropServices.Guid("6698EF11-FF17-441C-8C5D-BC24A339B37D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsColorizer = interface
Public Interface IVsColorizer
- Derived
- Attributes
Implement this interface when you wish to support syntax colorization.
IVsColorizer should be implemented on a separate object in your language service. For more information, see Syntax Coloring in a Legacy Language Service.
This interface is obtained by calling the GetColorizer(IVsTextLines, IVsColorizer) method in the IVsLanguageInfo interface. An editor obtains the IVsColorizer object from the language service to provide support for syntax highlighting. The language service itself may use its own colorizer to aid in support of more complex features such as the IntelliSense member completion lists and brace matching.
Close |
Releases any references held on a VsTextBuffer object. |
Colorize |
Colorizes the given text. |
Get |
Determines the state in which colorization of the first line of the buffer should begin. |
Get |
Determines the end-of-line state for a given line. |
Get |
Returns the state maintenance requirement for the colorizer. |
Produkt | Versiounen |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |