Package org.eclipse.xtext.ui.editor.syntaxcoloring

Examples of org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfigurationAcceptor


  public void configure(final IHighlightingConfigurationAcceptor acceptor) {
    TextStyle _staticText = this.staticText();
    acceptor.acceptDefaultHighlighting(TemplateHighlightingConfiguration.TEXT, "Text", _staticText);
    TextStyle _staticEscape = this.staticEscape();
    acceptor.acceptDefaultHighlighting(TemplateHighlightingConfiguration.ESCAPE, "Statement/Expression Escape Symbols", _staticEscape);
    final IHighlightingConfigurationAcceptor _function = new IHighlightingConfigurationAcceptor() {
      public void acceptDefaultHighlighting(final String id, final String name, final TextStyle style) {
        RGB _rGB = new RGB(230, 230, 230);
        style.setBackgroundColor(_rGB);
        acceptor.acceptDefaultHighlighting(id, name, style);
      }
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfigurationAcceptor

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.