Adding Tooltip to errorneouse tokens

SyntaxEditor for WPF Forum

Posted 15 years ago by Martin - Blaise - Statistics Netherlands
Version: 9.2.0510
Avatar
I want to add a tooltip on the text where the parser encountered errors. My ParseErrorProvider generates this parsererrors, and these are underlined in the document. What is the best practise to add a tooltip?

[Modified at 02/03/2010 07:59 AM]

Comments (2)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Martin,

You'd need to add a quick info provider service to your language. You could have the service look at your document's ParseData property to see if any errors contain the offset. Then show a quick info tip for the related error if any.

We eventually want to provide a built-in service that will do this too.


Actipro Software Support

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We've added this feature to the upcoming 2010.2 release:
http://blog.actiprosoftware.com/post.aspx?id=5299bc0f-8567-43e9-9915-4956d5c273df


Actipro Software Support

The latest build of this product (v25.1.0) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.