I'm writing a plugin which scans the currently open Java source file and
checks for semantic errors related to a particular API that we use. The
errors are not syntax errors that IDEA would pickup, so I need to be
able to highlight sections of the file as IDEA would for a syntax error.
I'm currently using MarkupModel.addRangeHighlighter and then setting the
error stripe marker color and tooltip text on the returned
RangeHighlighter but the tooltip text is not display when I hover over
the higlighted area, only over the error stripe in the gutter.
Is this the correct way to highlight errors?
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919