public abstract class SyntaxHighlighterBase extends java.lang.Object implements SyntaxHighlighter
Modifier and Type | Field and Description |
---|---|
protected static TextAttributesKey[] |
EMPTY
Deprecated.
Use
TextAttributesKey.EMPTY_ARRAY instead |
EP_NAME, PROVIDER
Constructor and Description |
---|
SyntaxHighlighterBase() |
Modifier and Type | Method and Description |
---|---|
protected static void |
fillMap(java.util.Map<IElementType,TextAttributesKey> map,
TextAttributesKey value,
IElementType... types) |
static void |
fillMap(java.util.Map<IElementType,TextAttributesKey> map,
TokenSet keys,
TextAttributesKey value) |
static TextAttributesKey [] |
pack(TextAttributesKey key) |
static TextAttributesKey [] |
pack(TextAttributesKey [] base,
TextAttributesKey key) |
static TextAttributesKey [] |
pack(TextAttributesKey [] base,
TextAttributesKey t1,
TextAttributesKey t2) |
static TextAttributesKey [] |
pack(TextAttributesKey key1,
TextAttributesKey key2) |
static TextAttributesKey [] |
pack(TextAttributesKey key,
TextAttributesKey [] base) |
protected static void |
safeMap(java.util.Map<IElementType,TextAttributesKey> map,
IElementType type,
TextAttributesKey value)
Tries to update the map by associating given key with a given value.
|
protected static void |
safeMap(java.util.Map<IElementType,TextAttributesKey> map,
TokenSet keys,
TextAttributesKey value)
Tries to update the map by associating given keys with a given value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHighlightingLexer, getTokenHighlights
@Deprecated protected static final TextAttributesKey[] EMPTY
TextAttributesKey.EMPTY_ARRAY
insteadpublic static TextAttributesKey [] pack(TextAttributesKey key)
public static TextAttributesKey [] pack(TextAttributesKey key1, TextAttributesKey key2)
public static TextAttributesKey [] pack(TextAttributesKey [] base, TextAttributesKey key)
public static TextAttributesKey [] pack(TextAttributesKey key, TextAttributesKey [] base)
public static TextAttributesKey [] pack(TextAttributesKey [] base, TextAttributesKey t1, TextAttributesKey t2)
public static void fillMap(java.util.Map<IElementType,TextAttributesKey> map, TokenSet keys, TextAttributesKey value)
protected static void fillMap(java.util.Map<IElementType,TextAttributesKey> map, TextAttributesKey value, IElementType... types)
protected static void safeMap(java.util.Map<IElementType,TextAttributesKey> map, TokenSet keys, TextAttributesKey value)
protected static void safeMap(java.util.Map<IElementType,TextAttributesKey> map, IElementType type, TextAttributesKey value)