Freigeben über


COLORINDEX Enum

Definition

Specifies the default foreground, background, or line color.

public enum class COLORINDEX
public enum class COLORINDEX
enum COLORINDEX
public enum COLORINDEX
type COLORINDEX = 
Public Enum COLORINDEX
Inheritance
COLORINDEX

Fields

Name Value Description
CI_SYSTEXT_FG 0

Obsolete. Use CI_USERTEXT_FG instead.

CI_USERTEXT_FG 0

The foreground color for user text.

CI_SYSTEXT_BK 1

Obsolete. Use USERTEXT_BK instead.

CI_USERTEXT_BK 1

The background color for user text.

CI_BLACK 2

Black.

CI_FIRSTFIXEDCOLOR 2

The first fixed color. Beginning of fixed color range.

CI_WHITE 3

White.

CI_MAROON 4

Maroon.

CI_DARKGREEN 5

Dark green.

CI_BROWN 6

Brown.

CI_DARKBLUE 7

Dark blue.

CI_PURPLE 8

Purple.

CI_AQUAMARINE 9

Aquamarine.

CI_LIGHTGRAY 10

Light gray.

CI_DARKGRAY 11

Dark gray.

CI_RED 12

Red.

CI_GREEN 13

Green.

CI_YELLOW 14

Yellow.

CI_BLUE 15

Blue.

CI_MAGENTA 16

Magenta.

CI_CYAN 17

Cyan.

CI_LASTFIXEDCOLOR 17

The last fixed color. End of fixed color range.

CI_SYSSEL_FG 18

The foreground for selected text.

CI_SYSSEL_BK 19

The background for selected text.

CI_SYSINACTSEL_FG 20

The foreground for inactive selection.

CI_SYSINACTSEL_BK 21

The background for inactive selection.

CI_SYSWIDGETMGN_BK 22

The background for widget margin.

CI_SYSPLAINTEXT_FG 23

The foreground for plain text.

CI_SYSPLAINTEXT_BK 24

The background for plain text.

CI_PALETTESIZE 25

The palette size.

CI_FORBIDCUSTOMIZATION 26

Forbid customization.

Remarks

For information on coloring text managed by the core editor, see Syntax Coloring in a Legacy Language Service.

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

COM Signature

From textmgr.idl:

Applies to