API Reference
Class
SmartHighlighter
Values in plain text: URLs and e-mail addresses (as links), GUIDs, distinguished names, dates and times, IPv4 and IPv6 addresses, Windows and Unix paths, quoted strings, booleans and null, and numbers with units.
Inheritance
- Object
- SmartHighlighter
Constructors
public SmartHighlighter() #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).