public class DefaultHighlightingConfiguration extends Object implements IHighlightingConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMENT_ID |
static String |
DEFAULT_ID |
static String |
INVALID_TOKEN_ID |
static String |
KEYWORD_ID |
static String |
NUMBER_ID |
static String |
PUNCTUATION_ID |
static String |
STRING_ID |
static String |
TASK_ID |
| Constructor and Description |
|---|
DefaultHighlightingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TextStyle |
commentTextStyle() |
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 |
defaultTextStyle() |
TextStyle |
errorTextStyle() |
TextStyle |
keywordTextStyle() |
TextStyle |
numberTextStyle() |
TextStyle |
punctuationTextStyle() |
TextStyle |
stringTextStyle() |
TextStyle |
taskTextStyle() |
public static final String KEYWORD_ID
public static final String PUNCTUATION_ID
public static final String COMMENT_ID
public static final String STRING_ID
public static final String NUMBER_ID
public static final String DEFAULT_ID
public static final String INVALID_TOKEN_ID
public static final String TASK_ID
public void configure(IHighlightingConfigurationAcceptor acceptor)
IHighlightingConfigurationconfigure in interface IHighlightingConfigurationacceptor - 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 defaultTextStyle()
public TextStyle errorTextStyle()
public TextStyle numberTextStyle()
public TextStyle stringTextStyle()
public TextStyle commentTextStyle()
public TextStyle taskTextStyle()
public TextStyle keywordTextStyle()
public TextStyle punctuationTextStyle()
Copyright © 2016. All Rights Reserved.