public class SourceCodeStyle extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static SourceCodeStyle |
get(ELanguage language)
Returns the style for a given language.
|
ImmutablePair<java.awt.Color,java.lang.Integer> |
getStyle(ETokenType tokenType)
Returns the color/font style pair for a given token type.
|
ImmutablePair<java.awt.Color,java.lang.Integer> |
getStyle(IToken token)
Returns the color/font style pair for a given token.
|
public ImmutablePair<java.awt.Color,java.lang.Integer> getStyle(ETokenType tokenType)
public ImmutablePair<java.awt.Color,java.lang.Integer> getStyle(IToken token)
public static SourceCodeStyle get(ELanguage language)