Udostępnij za pośrednictwem


IVsFontsAndColorsInformation Interface

Definition

Encapsulates information about a language's color information.

public interface class IVsFontsAndColorsInformation
public interface class IVsFontsAndColorsInformation
__interface IVsFontsAndColorsInformation
public interface IVsFontsAndColorsInformation
type IVsFontsAndColorsInformation = interface
Public Interface IVsFontsAndColorsInformation

Methods

AddLanguageService(Guid)

Adds an additional language service that contributes to coloring information of this class. This method can be used to add additional color sources where multiple buffers of the same font and color category guid have varying language service GUIDs.

GetClassificationType(Int32)

Returns a IClassificationTypes that is created to be used by the language service classifier for the colorable item at index colorableItemIndex.

GetFontAndColorPreferences()

Returns the FONTCOLORPREFERENCES2 of the language service. This corresponds to the color definitions inside Visual Studio (not the information available in the classification format map, editor format map, etc.)

Events

Updated

Raised when information about the language service's colors is changed.

Applies to