void (@NotNull ScrollHelper helper) { ThreeSide left = mySide.select(ThreeSide.LEFT, ThreeSide.BASE); ThreeSide right = mySide.select(ThreeSide.BASE, ThreeSide.RIGHT); if (!helper.process(0, 0)) return; for (ThreesideDiffChangeBase diffChange : getAllChanges()) { if (!helper.process(diffChange.getStartLine(left), diffChange.getStartLine(right))) return; if (!helper.process(diffChange.getEndLine(left), diffChange.getEndLine(right))) return; } helper.process(getLineCount(getEditor(left).getDocument()), getLineCount(getEditor(right).getDocument())); }