Advertisement
JoshDreamland

Advanced Faggotry highlighting scheme

Oct 4th, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.83 KB | None | 0 0
  1.   private static final Color NAVY = new Color(0, 0, 200);
  2.   private static final Color BLUE_BLACK = new Color(0, 0, 100);
  3.   private static final Color FAGGOTRY_BLUE = new Color(54, 116, 186);
  4.   private static final Color LIGHT_BLUE = new Color(100, 100, 255);
  5.   private static final Color HALFASS_TURQUOIS = new Color(0, 100, 150);
  6.   private static final Color FOREST = new Color(13, 135, 13);
  7.   private static final Color BROWN = new Color(150, 0, 0);
  8.  
  9.   private static final ColorProfile PROFILE_ADVANCED_FAGGOTRY;
  10.   static {
  11.     HashMap<String, ColorProfileEntry> colors = new HashMap<String, ColorProfileEntry>();
  12.  
  13.     colors.put(S_DOC_COMMENT, makeEntry(S_DOC_COMMENT, FAGGOTRY_BLUE, Font.BOLD));
  14.     colors.put(S_BLOCK_COMMENT, makeEntry(S_BLOCK_COMMENT, FOREST, Font.ITALIC));
  15.     colors.put(S_DOC_LINE_COMMENT, makeEntry(S_DOC_LINE_COMMENT, FAGGOTRY_BLUE, Font.BOLD));
  16.     colors.put(S_LINE_COMMENT, makeEntry(S_LINE_COMMENT, FOREST, Font.ITALIC));
  17.     colors.put(S_DOUBLEQ_STRING, makeEntry(S_DOUBLEQ_STRING, BLUE_BLACK, Font.PLAIN));
  18.     colors.put(S_SINGLEQ_STRING, makeEntry(S_SINGLEQ_STRING, BLUE_BLACK, Font.PLAIN));
  19.     colors.put(S_FUNCTIONS, makeEntry(S_FUNCTIONS, HALFASS_TURQUOIS, Font.PLAIN));
  20.     colors.put(S_CONSTRUCTS, makeEntry(S_CONSTRUCTS, NAVY, Font.PLAIN));
  21.     colors.put(S_OPERATORS, makeEntry(S_OPERATORS, NAVY, Font.PLAIN));
  22.     colors.put(S_CONSTANTS, makeEntry(S_CONSTANTS, BROWN, Font.PLAIN));
  23.     colors.put(S_VARIABLES, makeEntry(S_VARIABLES, BLUE_BLACK, Font.ITALIC));
  24.     colors.put(S_OPS_AND_SEPS, makeEntry(S_OPS_AND_SEPS, NAVY, Font.PLAIN));
  25.     colors.put(S_NUMERIC_LITERAL, makeEntry(S_NUMERIC_LITERAL, BROWN, Font.PLAIN));
  26.     colors.put(S_HEX_LITERAL, makeEntry(S_HEX_LITERAL, LIGHT_BLUE, Font.PLAIN));
  27.  
  28.     PROFILE_ADVANCED_FAGGOTRY = new ColorProfile("Advanced Faggotry", colors); //$NON-NLS-1$
  29.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement