public class TemplatesHighlightingConfiguration extends DefaultHighlightingConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TEMPLATE_BODY |
static java.lang.String |
TEMPLATE_VARIABLE |
static java.lang.String |
TEMPLATE_VARIABLE_ARGUMENT |
COMMENT_ID, DEFAULT_ID, INVALID_TOKEN_ID, KEYWORD_ID, NUMBER_ID, PUNCTUATION_ID, STRING_ID
Constructor and Description |
---|
TemplatesHighlightingConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(IHighlightingConfigurationAcceptor acceptor)
This method is called by the framework and allows clients to register the default styles for
the semantic highlighting stage.
|
TextStyle |
counterStyle() |
TextStyle |
decorationsStyle() |
commentTextStyle, defaultTextStyle, errorTextStyle, keywordTextStyle, numberTextStyle, punctuationTextStyle, stringTextStyle
public static final java.lang.String TEMPLATE_BODY
public static final java.lang.String TEMPLATE_VARIABLE
public static final java.lang.String TEMPLATE_VARIABLE_ARGUMENT
public void configure(IHighlightingConfigurationAcceptor acceptor)
IHighlightingConfiguration
configure
in interface IHighlightingConfiguration
configure
in class DefaultHighlightingConfiguration
acceptor
- the acceptor is used to announce the various default styles. It is never null
.IHighlightingConfigurationAcceptor.acceptDefaultHighlighting(String, String, org.eclipse.xtext.ui.editor.utils.TextStyle)
public TextStyle counterStyle()
public TextStyle decorationsStyle()