use of com.intellij.openapi.project.DumbAware in project intellij-community by JetBrains.
the class TextEditorHighlightingPass method applyInformationToEditor.
@Override
public final void applyInformationToEditor() {
// Document has changed.
if (!isValid())
return;
if (DumbService.getInstance(myProject).isDumb() && !(this instanceof DumbAware)) {
Document document = getDocument();
PsiFile file = document == null ? null : PsiDocumentManager.getInstance(myProject).getPsiFile(document);
if (file != null) {
DaemonCodeAnalyzerEx.getInstanceEx(myProject).getFileStatusMap().markFileUpToDate(getDocument(), getId());
}
return;
}
doApplyInformationToEditor();
}