lost during merge commit: Highlight invisible references like unresolved

This commit is contained in:
Svetlana Isakova
2012-04-05 18:33:01 +04:00
parent 698c6cc7bc
commit aa568a3ceb
@@ -180,6 +180,10 @@ public class JetPsiChecker implements Annotator {
for (TextRange textRange : textRanges) {
Annotation errorAnnotation = holder.createErrorAnnotation(textRange, getMessage(diagnostic));
registerQuickFix(errorAnnotation, diagnostic);
if (diagnostic.getFactory() == Errors.INVISIBLE_REFERENCE) {
errorAnnotation.setHighlightType(ProblemHighlightType.LIKE_UNKNOWN_SYMBOL);
}
}
}
else if (diagnostic.getSeverity() == Severity.WARNING) {