![Avatar](https://secure.gravatar.com/avatar/c3931bcb11af35d1f7d523271fc2b593.jpg?s=64&d=identicon&r=g)
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)