API Reference
Struct
HighlightToken
A highlighted part of a text.
Inheritance
- ValueType
- HighlightToken
Usage
Explore 10 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 10
- Method CsvHighlighter.Tokenize
- Method DiffHighlighter.Tokenize
- Method ITextHighlighter.Tokenize
- Method JsonHighlighter.Tokenize
- Method LogHighlighter.Tokenize
- Method PowerShellHighlighter.Tokenize
- Method RegexHighlighter.Tokenize
- Method SmartHighlighter.Tokenize
- Method XmlHighlighter.Tokenize
- Method YamlHighlighter.Tokenize
Constructors
public HighlightToken(Int32 start, Int32 length, HighlightRole role, String? link = null) #Creates a token.
Parameters
- start System.Int32
- The first character.
- length System.Int32
- The length in characters.
- role ConsoleMonster.Highlighting.HighlightRole
- The role.
- link System.String? = null
- A link target (for URLs), or null.
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object?