Posted 16 years ago by Ernesto Obregon
Version: 4.0.0262
Avatar
I am having some trouble with the cast of the LexicalPatternGroups to DynamicLexicalState. I receive an error that states:

'LexicalPatterGroup' is not a member of 'ActiproSoftware.SyntaxEditor.ILexicalState'.

CType((editor.Document.Language.DefaultLexicalState).LexicalPatterGroup, DynamicLexicalState)
thanks

Comments (2)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi, lexical pattern groups are child objects of a lexical state. They are not lexical states themselves.


Actipro Software Support

Posted 16 years ago by Ernesto Obregon
Avatar
Ok, I think I got it now.

CType(editor.Document.Language.DefaultLexicalState, DynamicLexicalState)
The latest build of this product (v24.1.0) was released 26 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.