Posted 12 years ago by Jake Pearson - Software Developer, Alion Science and Technology
Avatar
Hi,
Is it possible that an error indicator that I add gets overridden by the ones that are inserted by the type resolver? If so, how do I make sure mine gets shown instead of yours?

thanks,
Jake

Comments (4)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes, if the SyntaxLanguage.ErrorDisplayEnabled property is set, it will clear and then write syntax errors from the semantic parsing phase to the syntax error span indicator layer.

You can either turn that property to false or write your own indicators to a different span indicator layer.


Actipro Software Support

Posted 12 years ago by Jake Pearson - Software Developer, Alion Science and Technology
Avatar
In order to make sure my error indicator gets painted on top of yours, what is a good priority number for me to use?
Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I would take SpanIndicatorLayer.SyntaxErrorDisplayPriority and add 1 to it.


Actipro Software Support

Posted 12 years ago by Jake Pearson - Software Developer, Alion Science and Technology
Avatar
Duh, sorry I didn't think of that. Thanks.
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.