Skip to content
ConsoleMonster

API Reference

Class

XmlHighlighter

Namespace ConsoleMonster.Highlighting
Assembly ConsoleMonster
Implements
Modifiers sealed

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 requiredposition: 0
The text (any line endings).

Returns

The tokens, in order and not overlapping.

Properties

public String Name { get; } #

The language name, for example "json" (lower case).