boolean (@NotNull VFileEvent e, VirtualFile file) { if (!myIsInsideCommand || myProject.isDisposed()) { return false; } if (UndoUtil.isUndoDisabledFor(file)) { return false; } Object requestor = e.getRequestor(); if (FileContentUtilCore.FORCE_RELOAD_REQUESTOR.equals(requestor) || requestor instanceof StorageManagerFileWriteRequestor) { return false; } return LocalHistory.getInstance().isUnderControl(file); }