I am having some trouble with the cast of the LexicalPatternGroups to DynamicLexicalState. I receive an error that states:
thanks
'LexicalPatterGroup' is not a member of 'ActiproSoftware.SyntaxEditor.ILexicalState'.
CType((editor.Document.Language.DefaultLexicalState).LexicalPatterGroup, DynamicLexicalState)