@Override
    protected int getEndLine(@NotNull ApplyPatchChange change) {
      //noinspection ConstantConditions
      return getCurrentSide().select(change.getResultRange(), change.getPatchAffectedRange()).end;
    }
@Override
    protected int getEndLine(@NotNull ApplyPatchChange change)