다음을 통해 공유


COLORINDEX Enumeration

Specifies default foreground, background, or line color.

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

Syntax

Public Enumeration COLORINDEX

Dim instance As COLORINDEX
public enum COLORINDEX
public enum class COLORINDEX
public enum COLORINDEX

Members

Member name Description
CI_USERTEXT_FG Foreground color for user text.
CI_USERTEXT_BK Background color for user text.
CI_FIRSTFIXEDCOLOR First fixed color. Beginning of fixed color range.
CI_BLACK Black.
CI_WHITE White.
CI_MAROON Maroon.
CI_DARKGREEN Dark green.
CI_BROWN Brown.
CI_DARKBLUE Dark blue.
CI_PURPLE Purple.
CI_AQUAMARINE Aquamarine.
CI_LIGHTGRAY Light gray.
CI_DARKGRAY Dark gray.
CI_RED Red.
CI_GREEN Green.
CI_YELLOW Yellow.
CI_BLUE Blue.
CI_MAGENTA Magenta.
CI_CYAN Cyan.
CI_LASTFIXEDCOLOR Last fixed color. End of fixed color range.
CI_SYSSEL_FG Foreground for selected text.
CI_SYSSEL_BK Background for selected text.
CI_SYSINACTSEL_FG Foreground for inactive selection.
CI_SYSINACTSEL_BK Background for inactive selection.
CI_SYSWIDGETMGN_BK Background for widget margin.
CI_SYSPLAINTEXT_FG Foreground for plain text.
CI_SYSPLAINTEXT_BK Background for plain text.
CI_PALETTESIZE Palette size.
CI_FORBIDCUSTOMIZATION Forbid customization.
CI_SYSTEXT_FG Obsolete. Use CI_USERTEXT_FG instead.
CI_SYSTEXT_BK Obsolete. Use USERTEXT_BK instead.

Remarks

For information on colorizing text managed by the core editor, see Providing a Syntax Coloring Service.

For information on using the font and color mechanism to coloring text, see Getting Font and Color Information for Text Colorization.

COM Signature

From textmgr.idl:

See Also

Concepts

Providing a Syntax Coloring Service

Getting Font and Color Information for Text Colorization

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace