GitOrigin-RevId: d96863371b306ae7c35e51a36e005c9fc65e6a95
This commit is contained in:
Alexey Kudravtsev
2022-08-24 15:03:48 +00:00
committed by intellij-monorepo-bot
parent 12ecdbfbfb
commit aeb5a3768b
@@ -129,8 +129,8 @@ final class DefaultHighlightVisitor implements HighlightVisitor, DumbAware {
ProgressManager.checkCanceled();
holder.myCurrentAnnotator = annotator;
annotator.annotate(element, holder);
// assume that annotator is done messing with just created annotations after its annotate() method completed
// and we can start applying them incrementally at last
// assume that annotator is done messing with just created annotations after its annotate() method completed,
// so we can start applying them incrementally at last
// (but not sooner, thanks to awfully racey Annotation.setXXX() API)
holder.queueToUpdateIncrementally();
}