LexicalPatternGroup missing from LexicalState class?

SyntaxEditor for Windows Forms Forum

Posted 16 years ago by Sean Fuhrmann
I am trying to get access to a LexicalPattern via the LexicalState class as shown in some forum posts, but that public property seems to be missing... Drilling into the LexicalState object via reflection shows me that the data is there.

Is there a new supported way to get this information?



Comments (2)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Lexical patterns are only in dynamic languages. So you need to cast your lexical state to a DynamicLexicalState. Then that has a LexicalPatternGroups property on it.

Actipro Software Support

Posted 16 years ago by Sean Fuhrmann
Awesome, I figured it was something along those lines.

Thanks for the quick response!
The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.