The KeywordHighlighter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
KeywordHighlighter |
Initializes a new instance of the KeywordHighlighter class
|
Methods
Name | Description | |
---|---|---|
![]() |
AddEnclosure(String, String, CharClass) |
Adds a pair of strings and character-class
that characters between the pair will be classified as.
|
![]() |
AddEnclosure(String, String, CharClass, Boolean) |
Adds a pair of strings and character-class
that characters between the pair will be classified as.
|
![]() |
AddEnclosure(String, String, CharClass, Char) |
Adds a pair of strings and character-class
that characters between the pair will be classified as.
|
![]() |
AddEnclosure(String, String, CharClass, Boolean, Char) |
Adds a pair of strings and character-class
that characters between the pair will be classified as.
|
![]() |
AddEnclosure(String, String, CharClass, Boolean, Char, Boolean) |
Adds a pair of strings and character-class
that characters between the pair will be classified as.
|
![]() |
AddKeywordSet(array<String>[]()[][], CharClass) |
Adds a set of keywords to be highlighted.
|
![]() |
AddKeywordSet(array<String>[]()[][], CharClass, Boolean) |
Adds a set of keywords to be highlighted.
|
![]() |
AddLineHighlight(String, CharClass) |
Adds a line-highlight entry.
|
![]() |
AddLineHighlight(String, CharClass, Boolean) |
Adds a line-highlight entry.
|
![]() |
AddRegex(String, CharClass) |
Entry a pattern specified with a regular expression (case
sensitive) to be highlighted.
|
![]() |
AddRegex(String, IList<(Of <<'(CharClass>)>>)) |
Entry a pattern specified with a regular expression (case
sensitive) containing capturing groups which will be highlighted.
|
![]() |
AddRegex(Regex, CharClass) |
Entry a pattern specified with a regular expression
to be highlighted.
|
![]() |
AddRegex(Regex, IList<(Of <<'(CharClass>)>>)) |
Entry a pattern specified with a regular expression containing
capturing groups which will be highlighted.
|
![]() |
AddRegex(String, Boolean, CharClass) |
Entry a pattern specified with a regular expression
to be highlighted.
|
![]() |
AddRegex(String, Boolean, IList<(Of <<'(CharClass>)>>)) |
Entry a pattern specified with a regular expression containing
capturing groups which will be highlighted.
|
![]() |
ClearEnclosures |
Clears all registered enclosures.
|
![]() |
ClearKeywords |
Clears registered keywords.
|
![]() |
ClearLineHighlight |
Clears all registered line-highlight entries.
|
![]() |
ClearRegex |
Removes all entry of patterns specified with a regular expression
to be highlighted.
|
![]() |
Highlight(Document) |
Parse and highlight keywords.
|
![]() |
Highlight(Document, Int32%, Int32%) |
Parse and highlight keywords.
|
![]() |
SetKeywords | Obsolete.
(Please use AddKeywordSet instead.)
|
Properties
Name | Description | |
---|---|---|
![]() |
CanUseHook |
Gets whether a highlighter hook procedure can be installed or not.
|
![]() |
HighlightsNumericLiterals |
Gets or sets whether to enable built-in logic to recognize numeric
literals or not.
|
![]() |
HookProc |
Gets or sets highlighter hook procedure.
|
![]() |
WordCharSet |
Gets or sets word-character set.
|