public class XmlFileHighlighter extends SyntaxHighlighterBase
EMPTY
EP_NAME, PROVIDER
Constructor and Description |
---|
XmlFileHighlighter() |
XmlFileHighlighter(boolean dtd) |
XmlFileHighlighter(boolean dtd,
boolean xhtml) |
Modifier and Type | Method and Description |
---|---|
Lexer |
getHighlightingLexer()
Returns the lexer used for highlighting the file.
|
TextAttributesKey [] |
getTokenHighlights(IElementType tokenType)
Returns the list of text attribute keys used for highlighting the specified token type.
|
static void |
registerEmbeddedTokenAttributes(java.util.Map<IElementType,TextAttributesKey> _keys1,
java.util.Map<IElementType,TextAttributesKey> _keys2)
Deprecated.
use
EmbeddedTokenHighlighter extension |
public XmlFileHighlighter()
public XmlFileHighlighter(boolean dtd)
public XmlFileHighlighter(boolean dtd, boolean xhtml)
public Lexer getHighlightingLexer()
SyntaxHighlighter
public TextAttributesKey [] getTokenHighlights(IElementType tokenType)
SyntaxHighlighter
tokenType
- The token type for which the highlighting is requested.@Deprecated public static void registerEmbeddedTokenAttributes(java.util.Map<IElementType,TextAttributesKey> _keys1, java.util.Map<IElementType,TextAttributesKey> _keys2)
EmbeddedTokenHighlighter
extension