private final BatchHighlighterLexer lexer;
private final Map<IElementType, TextAttributesKey> colors = new HashMap<IElementType, TextAttributesKey>();
private final Map<IElementType, TextAttributesKey> backgrounds = new HashMap<IElementType, TextAttributesKey>();
public BatchSyntaxHighlighter() {
lexer = new BatchHighlighterLexer();
fillMap(colors, BatchTokenTypes.BRACES, BatchHighlighterColors.BRACES);
fillMap(colors, BatchTokenTypes.BRACKETS, BatchHighlighterColors.BRACKETS);
fillMap(colors, BatchTokenTypes.PARENTHESES, BatchHighlighterColors.PARENTHS);