Posted 18 years ago
by Matthew Smith
-
Developer,
One Plus One Solutions Pty Limited
Version: 4.0.0245
Hi,
Using the latest 4.0 version
Sorry for the stupid question. I cannot find how to access the ReservedWordToken Pattern Group via VB.Net so I can inject my own token words. I recently upgraded from v2.5 and just can't find how to do this!!
[Edit: answered myself thanks]Add a 'Key' of ReservedWordToken' your dynamic language
[Modified at 03/10/2007 12:40 AM]
Using the latest 4.0 version
Sorry for the stupid question. I cannot find how to access the ReservedWordToken Pattern Group via VB.Net so I can inject my own token words. I recently upgraded from v2.5 and just can't find how to do this!!
[Edit: answered myself thanks]
Dim lexicalStates As DynamicLexicalState = language.LexicalStates("DefaultState")
Dim keywordPatternGroup As LexicalPatternGroup = lexicalStates.LexicalPatternGroups("ReservedWorkToken")
[Modified at 03/10/2007 12:40 AM]
Regards, Matt