Posted 15 years ago
by Ryan
Does anyone have or can you provide a detailed example of how to read an ExplicitPatternGroup and add to the group.
For an example can you show how to read from the VBscript language and read or add to the group TokenKey="ReservedWordToken" ?
This is as far as I can get
Dim States As LexicalStateCollection
Dim ChildLexicalStates As LexicalStateCollection
Dim PatternGroup As LexicalPatternGroup
States = editor.Document.Language.LexicalStates
For an example can you show how to read from the VBscript language and read or add to the group TokenKey="ReservedWordToken" ?
This is as far as I can get
Dim States As LexicalStateCollection
Dim ChildLexicalStates As LexicalStateCollection
Dim PatternGroup As LexicalPatternGroup
States = editor.Document.Language.LexicalStates