mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-92738 - PIEAE: PsiUtilCore.ensureValid
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ public class PsiAwareTextEditorImpl extends TextEditorImpl {
|
||||
if (foldingState != null) {
|
||||
foldingState.setToEditor(getEditor());
|
||||
}
|
||||
if (psiFile != null) {
|
||||
if (psiFile != null && psiFile.isValid()) {
|
||||
DaemonCodeAnalyzer.getInstance(myProject).restart(psiFile);
|
||||
}
|
||||
EditorNotifications.getInstance(myProject).updateNotifications(myFile);
|
||||
|
||||
Reference in New Issue
Block a user