new Color(display, new RGB(0, 128, 0)), // Green
new Color(display, new RGB(128, 128, 128)) // Gray
};
styles = new StyleRange[] {
new StyleRange(0, 0, null, null, SWT.NORMAL),
new StyleRange(0, 0, colors[COLOR_RED], null, SWT.NORMAL),
new StyleRange(0, 0, colors[COLOR_ORANGE], null, SWT.NORMAL),
new StyleRange(0, 0, colors[COLOR_BLUE], null, SWT.BOLD),
new StyleRange(0, 0, colors[COLOR_GREEN], null, SWT.NORMAL),
new StyleRange(0, 0, colors[COLOR_GREEN], null, SWT.NORMAL),
new StyleRange(0, 0, colors[COLOR_GRAY], null, SWT.BOLD),
new StyleRange(0, 0, colors[COLOR_GREENISH], null, SWT.ITALIC),
new StyleRange(0, 0, colors[COLOR_GRAY], null, SWT.BOLD),
new StyleRange(0, 0, colors[COLOR_GRAY], null, SWT.NORMAL)
};
// -- lexer for finding language parts --
lexer = new RubyYaccLexer();