public class SemanticHighlightingConfiguration extends DefaultHighlightingConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_TYPE_RULE_ID |
static java.lang.String |
NEVER_CALLED_RULE_ID |
static java.lang.String |
RULE_DECLARATION_ID |
static java.lang.String |
SPECIAL_ATTRIBUTE_ID |
static java.lang.String |
TYPE_REFERENCE_ID |
static java.lang.String |
UNUSED_VALUE_ID |
COMMENT_ID, DEFAULT_ID, INVALID_TOKEN_ID, KEYWORD_ID, NUMBER_ID, PUNCTUATION_ID, STRING_ID, TASK_ID
Constructor and Description |
---|
SemanticHighlightingConfiguration() |
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 |
dataTypeRule() |
TextStyle |
specialAttribute() |
TextStyle |
typeReference() |
TextStyle |
unusedRule() |
TextStyle |
unusedValue() |
commentTextStyle, defaultTextStyle, errorTextStyle, keywordTextStyle, numberTextStyle, punctuationTextStyle, stringTextStyle, taskTextStyle
public static final java.lang.String RULE_DECLARATION_ID
public static final java.lang.String TYPE_REFERENCE_ID
public static final java.lang.String DATA_TYPE_RULE_ID
public static final java.lang.String UNUSED_VALUE_ID
public static final java.lang.String NEVER_CALLED_RULE_ID
public static final java.lang.String SPECIAL_ATTRIBUTE_ID
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 typeReference()
public TextStyle dataTypeRule()
public TextStyle unusedValue()
public TextStyle unusedRule()
public TextStyle specialAttribute()