How do I display the current token the caret is on?

SyntaxEditor for WPF Forum

Posted 8 years ago by David Freibrun
Version: 11.2.0554
Avatar

I want to display the current token where the caret is positioned on just the way I see it done in "Live Test" in the syntaxEditor Language designer.

 

Can somebody provide sample code that does this?

Comments (1)

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi David,

Actually we have similar code in the SDI Editor demo's code-behind method OnSyntaxEditorViewSelectionChanged.  That functionality isn't on by default but I believe there is a View menu option that turns it on.


Actipro Software Support

The latest build of this product (v2020.1.1) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.