LexicalPatternGroup missing from LexicalState class?

SyntaxEditor for Windows Forms Forum

Posted 11 years ago by Sean Fuhrmann
Avatar
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?

Thanks,

Sean

Comments (2)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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 11 years ago by Sean Fuhrmann
Avatar
Awesome, I figured it was something along those lines.

Thanks for the quick response!
The latest build of this product (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.