Posted 17 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 17 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 17 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 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I would take SpanIndicatorLayer.SyntaxErrorDisplayPriority and add 1 to it.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.