Package org.intellij.lang.jflex.lexer

Examples of org.intellij.lang.jflex.lexer.JFlexHighlighterLexer


    private final Map<IElementType, TextAttributesKey> colors = new HashMap<IElementType, TextAttributesKey>();
    private final Map<IElementType, TextAttributesKey> backgrounds = new HashMap<IElementType, TextAttributesKey>();

    public JFlexSyntaxHighlighter() {

        lexer = new JFlexHighlighterLexer();

        fillMap(colors, JFlexElementTypes.BRACES, JFlexHighlighterColors.BRACES);
        fillMap(colors, JFlexElementTypes.BRACKETS, JFlexHighlighterColors.BRACKETS);
        fillMap(colors, JFlexElementTypes.PARENTHESES, JFlexHighlighterColors.PARENTHS);
        fillMap(colors, JFlexElementTypes.ANGLE_BRACKETS, JFlexHighlighterColors.ANGLE_BRACKETS);
View Full Code Here

TOP

Related Classes of org.intellij.lang.jflex.lexer.JFlexHighlighterLexer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.