use of org.eclipse.xtext.ui.editor.utils.TextStyle in project xtext-xtend by eclipse.
the class XtendHighlightingConfiguration method richTextStyle.
public TextStyle richTextStyle() {
TextStyle textStyle = stringTextStyle().copy();
textStyle.setBackgroundColor(new RGB(220, 220, 220));
return textStyle;
}
use of org.eclipse.xtext.ui.editor.utils.TextStyle in project coffeescript-eclipse by adamschmideg.
the class LexicalHighlightingConfiguration method regexTextStyle.
public TextStyle regexTextStyle() {
TextStyle textStyle = defaultTextStyle().copy();
textStyle.setColor(new RGB(42, 0, 255));
return textStyle;
}