boolean (@NotNull ScrollToPolicy scrollToPolicy) { SimpleDiffChange targetChange = scrollToPolicy.select(getNonSkippedDiffChanges()); if (targetChange == null) targetChange = scrollToPolicy.select(getDiffChanges()); if (targetChange == null) return false; doScrollToChange(targetChange, false); return true; }