private boolean doScrollToChange(@NotNull ScrollToPolicy scrollToChangePolicy) {
      List<UnifiedDiffChange> changes = myModel.getDiffChanges();
      if (changes == null) return false;

      UnifiedDiffChange targetChange = scrollToChangePolicy.select(ContainerUtil.filter(changes, it -> !it.isSkipped()));
      if (targetChange == null) targetChange = scrollToChangePolicy.select(changes);
      if (targetChange == null) return false;

      DiffUtil.scrollEditor(myEditor, targetChange.getLine1(), false);
      return true;
    }
private boolean doScrollToChange(@NotNull ScrollToPolicy scrollToChangePolicy)