void (@NotNull AnActionEvent e) { PrevNextDifferenceIterable iterable = e.getData(DiffDataKeys.PREV_NEXT_DIFFERENCE_ITERABLE); if (iterable != null && iterable.canGoNext()) { iterable.goNext(); myIterationState = IterationState.NONE; return; } if (!isNavigationEnabled() || !hasNextChange(false) || !getSettings().isGoToNextFileOnNextDifference()) return; if (myIterationState != IterationState.NEXT) { notifyMessage(e, true); myIterationState = IterationState.NEXT; return; } goToNextChange(true); myIterationState = IterationState.NONE; }