Posted 20 years ago by byperman - Sint-Niklaas, Belgium
Avatar
Hi,

I was wondering if it's possible to retrieve the current LexicalState (at the position of the cursor)?

Thanks!!
Brecht

Comments (2)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Sure, just get the Token at the caret and you can retrieve the LexicalState off that. Actually the sample project shows the current state in the status bar. Check out the code in the sample project's main form for the SelectionChanged event.


Actipro Software Support

Posted 20 years ago by byperman - Sint-Niklaas, Belgium
Avatar
Oops, didn't see that.

Thanks a lot, that really helped me out!
The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.