void (@NotNull AnActionEvent e) { PrevNextDifferenceIterable iterable = e.getData(DiffDataKeys.PREV_NEXT_DIFFERENCE_ITERABLE); if (iterable != null && iterable.canGoPrev()) { iterable.goPrev(); myIterationState = IterationState.NONE; return; } if (!isNavigationEnabled() || !hasPrevChange(false) || !getSettings().isGoToNextFileOnNextDifference()) return; if (myIterationState != IterationState.PREV) { notifyMessage(e, false); myIterationState = IterationState.PREV; return; } goToPrevChange(true); myIterationState = IterationState.NONE; }