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

SyntaxEditor for WPF Forum

Posted 12 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 12 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 (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.