Posted 17 years ago by Ernesto Obregon
Version: 4.0.0262
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)

Comments (2)

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

Actipro Software Support

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

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

Add Comment

Please log in to a validated account to post comments.