Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: dc17ac69fac49bc4f269154b6bfd525e54f90194 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*******************************************************************************
 * Copyright (c) 2000, 2006 QNX Software Systems and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     QNX Software Systems - Initial API and implementation
 *     IBM Corporation
 *******************************************************************************/
package org.eclipse.cdt.internal.ui.text;



/*
 * Color constants that we use for the preferences
 */
 
public interface ICColorConstants {
	/** The color key for multi-line comments in C code. */
	String C_MULTI_LINE_COMMENT= "c_multi_line_comment"; //$NON-NLS-1$
	/** The color key for single-line comments in C code. */
	String C_SINGLE_LINE_COMMENT= "c_single_line_comment"; //$NON-NLS-1$
	/** The color key for keywords in C code. */
	String C_KEYWORD= "c_keyword"; //$NON-NLS-1$
	/** The color key for builtin types in C code. */
	String C_TYPE= "c_type"; //$NON-NLS-1$
	/** The color key for string and character literals in C code. */
	String C_STRING= "c_string"; //$NON-NLS-1$
    /** The color key for operators. */
    String C_OPERATOR= "c_operators"; //$NON-NLS-1$
    /** The color key for braces. */
    String C_BRACES= "c_braces"; //$NON-NLS-1$
    /** The color key for numbers. */
    String C_NUMBER= "c_numbers"; //$NON-NLS-1$
    /** The color key for everthing in C code for which no other color is specified. */
	String C_DEFAULT= "c_default"; //$NON-NLS-1$

	/** The color key for preprocessor directives. */
	String PP_DIRECTIVE= "pp_directive"; //$NON-NLS-1$
	/** The color key for preprocessor text not colored otherwise. */
	String PP_DEFAULT= "pp_default"; //$NON-NLS-1$
    /** The color key for preprocessor include files. */
    String PP_HEADER= "pp_header"; //$NON-NLS-1$

	/** The color key for keywords in assembly code. */
	String ASM_DIRECTIVE= "asm_directive"; //$NON-NLS-1$
    /** The color key for assembly labels. */
    String ASM_LABEL= "asm_label"; //$NON-NLS-1$

    /**
     * The color key for task tags in C comments
     * (value <code>"c_comment_task_tag"</code>).
     */
    String TASK_TAG= "c_comment_task_tag"; //$NON-NLS-1$
}


Back to the top