PsiChangeHandler: explain when transaction can be null

This commit is contained in:
peter
2016-04-25 15:50:26 +02:00
parent f8c230f7f2
commit c3a832cf01
@@ -208,6 +208,7 @@ class PsiChangeHandler extends PsiTreeChangeAdapter implements Disposable {
Document document = pdm.getCachedDocument(file);
if (document != null) {
if (pdm.getSynchronizer().getTransaction(document) == null) {
// content reload, language level change or some other big change
myFileStatusMap.markAllFilesDirty(child);
return;
}