Posted 14 years ago
by Mick George
-
Principle Software Engineer,
CNC Software, LLC
Version: 11.1.0542

Hello,
I have a syntax language class that needs to have DynamicLexicalPatternGroup's created and added to the language at run time that will be populated by a number DynamicLexicalPattern keywords that are accessed at run time.
In my test project I have added the code below in the syntax language constructor which I assume is an OK location to do so. If I watch postLexer the new pattern group has been added but when I view my sample text none of the lexical patterns are highlighted in red as I have specified, what am I missing?
Thanks
I have a syntax language class that needs to have DynamicLexicalPatternGroup's created and added to the language at run time that will be populated by a number DynamicLexicalPattern keywords that are accessed at run time.
In my test project I have added the code below in the syntax language constructor which I assume is an OK location to do so. If I watch postLexer the new pattern group has been added but when I view my sample text none of the lexical patterns are highlighted in red as I have specified, what am I missing?
Thanks