Squiggle Error and Warning Precedence

SyntaxEditor for WPF Forum

Posted 3 years ago by Laif Harwood
Version: 17.2.0664
Avatar

If there is an error and a warning at the same position in the document the squiggle color appears to indicate whichever one was added last, but the hover tooltip shows the first warning or error. Is there a way to make these match up?

RegisterService(new CodeDocumentTaggerProvider<ParseErrorTagger>(typeof(ParseErrorTagger)));

RegisterService(new SquiggleTagQuickInfoProvider());

Comments (1)

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Laif,

If you have the same tagger providing all the tagged ranges, can you make sure that none overlap so that you ensure the most important one is displayed and used for quick info?

We've also updated our SquiggleTagQuickInfoProvider logic for the upcoming v22.1 maintenance release to show quick info for the last tagged range (top of z-order) when there are multiple overlapping ranges for an offset.


Actipro Software Support

The latest build of this product (v24.1.3) 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.