Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static final Color BLUE = new Color(0, 0, 255);
- private static final Color LIGHT_BLUE = new Color(128, 128, 255);
- private static final Color SLIGHTLY_LESS_LIGHT_BLUE = new Color(100, 100, 255);
- private static final Color BLUE_BLACK = new Color(20, 50, 90);
- private static final Color FOREST = new Color(13, 135, 13);
- private static final Color DARK_RED = new Color(200, 0, 0);
- private static final Color HALFASS_TURQUOIS = new Color(0, 100, 150);
- private static final Color BLACK = Color.BLACK;
- private static final ColorProfile ASS_BLASTERS_DX;
- static {
- Map<String, ColorProfileEntry> colors = new HashMap<String, ColorProfileEntry>();
- colors.put(S_DOC_COMMENT, makeEntry(S_DOC_COMMENT, LIGHT_BLUE, Font.BOLD));
- colors.put(S_BLOCK_COMMENT, makeEntry(S_BLOCK_COMMENT, FOREST, Font.ITALIC));
- colors.put(S_DOC_LINE_COMMENT, makeEntry(S_DOC_LINE_COMMENT, LIGHT_BLUE, Font.BOLD));
- colors.put(S_LINE_COMMENT, makeEntry(S_LINE_COMMENT, FOREST, Font.ITALIC));
- colors.put(S_DOUBLEQ_STRING, makeEntry(S_DOUBLEQ_STRING, BLUE, Font.PLAIN));
- colors.put(S_SINGLEQ_STRING, makeEntry(S_SINGLEQ_STRING, BLUE, Font.PLAIN));
- colors.put(S_FUNCTIONS, makeEntry(S_FUNCTIONS, HALFASS_TURQUOIS, Font.PLAIN));
- colors.put(S_CONSTRUCTS, makeEntry(S_CONSTRUCTS, HALFASS_TURQUOIS, Font.BOLD));
- colors.put(S_OPERATORS, makeEntry(S_OPERATORS, BLACK, Font.BOLD));
- colors.put(S_CONSTANTS, makeEntry(S_CONSTANTS, DARK_RED, Font.PLAIN));
- colors.put(S_VARIABLES, makeEntry(S_VARIABLES, BLUE, Font.ITALIC));
- colors.put(S_OPS_AND_SEPS, makeEntry(S_OPS_AND_SEPS, DARK_RED, Font.PLAIN));
- colors.put(S_NUMERIC_LITERAL, makeEntry(S_NUMERIC_LITERAL, BLUE_BLACK, Font.PLAIN));
- colors.put(S_HEX_LITERAL, makeEntry(S_HEX_LITERAL, SLIGHTLY_LESS_LIGHT_BLUE, Font.PLAIN));
- ASS_BLASTERS_DX = new ColorProfile("Ass Blasters DX", Collections.unmodifiableMap(colors)); //$NON-NLS-1$
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement