XmlHighlighter
classin packageklyn.code.markup
public class XmlHighlighter extends Object implements SyntaxHighlighter
└ XmlHighlighter
All Implemented Interfaces: SyntaxHighlighter

Syntax highlighter for XML and XML-derived markup formats backed by klyn.code.markup.MarkupTokenizer.

Example
import klyn.code.markup

spans = XmlHighlighter().highlight("<node id=\"root\">&amp;</node>")
Inherited Properties
propertyInherited Properties from Object: type
Methods
Modifier and Type Member Description
public highlight
highlight(line as String) as List<StyledSpan>
Highlights one XML source line.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml