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

SyntaxEditor for WPF Forum

Posted 11 years ago by David Freibrun
Version: 11.2.0554

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 11 years ago by Actipro Software Support - Cleveland, OH, USA

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 (v22.1.4) was released 22 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.