API Reference
Class
XmlHighlighter
XML and HTML: tags, attribute names and values, comments, CDATA, processing instructions and entities.
Inheritance
- Object
- XmlHighlighter
Constructors
public XmlHighlighter() #Methods
public IReadOnlyList<HighlightToken> Tokenize(String text) #Returns:
IReadOnlyList<HighlightToken>Tokenizes text.
Parameters
- text System.String
- The text (any line endings).
Returns
The tokens, in order and not overlapping.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Name { get; } #The language name, for example "json" (lower case).