@Override
    public void onRediff() {
      super.onRediff();

      if (myShouldUpdateCaretAfterRediff && myScrollToLine != null) {
        myShouldUpdateCaretAfterRediff = false;
        Side currentSide = getCurrentSide();
        Side side = myScrollToLine.first;
        int line = myScrollToLine.second;
        if (currentSide == side) {
          LineCol otherCol = transferPosition(side, new LineCol(line));
          DiffUtil.moveCaret(getEditor(side.other()), otherCol.line);
        }
      }
    }
@Override
    public void onRediff()