Advertisement
JoshDreamland

Ass Blasters DX highlighting scheme

Oct 4th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private static final Color BLUE = new Color(0, 0, 255);
  2. private static final Color LIGHT_BLUE = new Color(128, 128, 255);
  3. private static final Color SLIGHTLY_LESS_LIGHT_BLUE = new Color(100, 100, 255);
  4. private static final Color BLUE_BLACK = new Color(20, 50, 90);
  5. private static final Color FOREST = new Color(13, 135, 13);
  6. private static final Color DARK_RED = new Color(200, 0, 0);
  7. private static final Color HALFASS_TURQUOIS = new Color(0, 100, 150);
  8. private static final Color BLACK = Color.BLACK;
  9.  
  10. private static final ColorProfile ASS_BLASTERS_DX;
  11. static {
  12.   Map<String, ColorProfileEntry> colors = new HashMap<String, ColorProfileEntry>();
  13.  
  14.   colors.put(S_DOC_COMMENT, makeEntry(S_DOC_COMMENT, LIGHT_BLUE, Font.BOLD));
  15.   colors.put(S_BLOCK_COMMENT, makeEntry(S_BLOCK_COMMENT, FOREST, Font.ITALIC));
  16.   colors.put(S_DOC_LINE_COMMENT, makeEntry(S_DOC_LINE_COMMENT, LIGHT_BLUE, Font.BOLD));
  17.   colors.put(S_LINE_COMMENT, makeEntry(S_LINE_COMMENT, FOREST, Font.ITALIC));
  18.   colors.put(S_DOUBLEQ_STRING, makeEntry(S_DOUBLEQ_STRING, BLUE, Font.PLAIN));
  19.   colors.put(S_SINGLEQ_STRING, makeEntry(S_SINGLEQ_STRING, BLUE, Font.PLAIN));
  20.   colors.put(S_FUNCTIONS, makeEntry(S_FUNCTIONS, HALFASS_TURQUOIS, Font.PLAIN));
  21.   colors.put(S_CONSTRUCTS, makeEntry(S_CONSTRUCTS, HALFASS_TURQUOIS, Font.BOLD));
  22.   colors.put(S_OPERATORS, makeEntry(S_OPERATORS, BLACK, Font.BOLD));
  23.   colors.put(S_CONSTANTS, makeEntry(S_CONSTANTS, DARK_RED, Font.PLAIN));
  24.   colors.put(S_VARIABLES, makeEntry(S_VARIABLES, BLUE, Font.ITALIC));
  25.   colors.put(S_OPS_AND_SEPS, makeEntry(S_OPS_AND_SEPS, DARK_RED, Font.PLAIN));
  26.   colors.put(S_NUMERIC_LITERAL, makeEntry(S_NUMERIC_LITERAL, BLUE_BLACK, Font.PLAIN));
  27.   colors.put(S_HEX_LITERAL, makeEntry(S_HEX_LITERAL, SLIGHTLY_LESS_LIGHT_BLUE, Font.PLAIN));
  28.  
  29.   ASS_BLASTERS_DX = new ColorProfile("Ass Blasters DX", Collections.unmodifiableMap(colors)); //$NON-NLS-1$
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement