Struct
HighlightToken
ConsoleMonster.Highlighting
A highlighted part of a text.
Inheritance
- ValueType
- HighlightToken
Usage
Explore 11 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 11
- Method CsvHighlighter.Tokenize
- Method DiffHighlighter.Tokenize
- Method ITextHighlighter.Tokenize
- Method JsonHighlighter.Tokenize
- Method LogHighlighter.Tokenize
- Method MemberSignatureHighlighter.Tokenize
- Method PowerShellHighlighter.Tokenize
- Method RegexHighlighter.Tokenize
- Method SmartHighlighter.Tokenize
- Method XmlHighlighter.Tokenize
- Method YamlHighlighter.Tokenize
Constructors
public HighlightToken(int start, int length, HighlightRole role, string? link = null) #Creates a token.
Parameters
- start int
- The first character.
- length int
- The length in characters.
- role ConsoleMonster.Highlighting.HighlightRole
- The role.
- link string? = null
- A link target (for URLs), or null.