JoshDreamland icon

Advanced Faggotry highlighting scheme

JoshDreamland | PRO | 10/04/14 06:30:05 PM UTC | 0 ⭐ | 420 👁️ | Never ⏰ | []
Java |

1.83 KB

|

None

|

0 👍

/

0 👎

  private static final Color NAVY = new Color(0, 0, 200);
  private static final Color BLUE_BLACK = new Color(0, 0, 100);
  private static final Color FAGGOTRY_BLUE = new Color(54, 116, 186);
  private static final Color LIGHT_BLUE = new Color(100, 100, 255);
  private static final Color HALFASS_TURQUOIS = new Color(0, 100, 150);
  private static final Color FOREST = new Color(13, 135, 13);
  private static final Color BROWN = new Color(150, 0, 0);
 
  private static final ColorProfile PROFILE_ADVANCED_FAGGOTRY;
  static {
    HashMap<String, ColorProfileEntry> colors = new HashMap<String, ColorProfileEntry>();
 
    colors.put(S_DOC_COMMENT, makeEntry(S_DOC_COMMENT, FAGGOTRY_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, FAGGOTRY_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_BLACK, Font.PLAIN));
    colors.put(S_SINGLEQ_STRING, makeEntry(S_SINGLEQ_STRING, BLUE_BLACK, Font.PLAIN));
    colors.put(S_FUNCTIONS, makeEntry(S_FUNCTIONS, HALFASS_TURQUOIS, Font.PLAIN));
    colors.put(S_CONSTRUCTS, makeEntry(S_CONSTRUCTS, NAVY, Font.PLAIN));
    colors.put(S_OPERATORS, makeEntry(S_OPERATORS, NAVY, Font.PLAIN));
    colors.put(S_CONSTANTS, makeEntry(S_CONSTANTS, BROWN, Font.PLAIN));
    colors.put(S_VARIABLES, makeEntry(S_VARIABLES, BLUE_BLACK, Font.ITALIC));
    colors.put(S_OPS_AND_SEPS, makeEntry(S_OPS_AND_SEPS, NAVY, Font.PLAIN));
    colors.put(S_NUMERIC_LITERAL, makeEntry(S_NUMERIC_LITERAL, BROWN, Font.PLAIN));
    colors.put(S_HEX_LITERAL, makeEntry(S_HEX_LITERAL, LIGHT_BLUE, Font.PLAIN));
 
    PROFILE_ADVANCED_FAGGOTRY = new ColorProfile("Advanced Faggotry", colors); //$NON-NLS-1$
  }

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎