@Override
    public @Nullable List<TextRange> getChangedRanges(@NotNull Editor editor) {
      ThreeSide side = ThreeSide.fromValue(getEditors(), editor);
      if (side == null) return null;

      return ContainerUtil.map(getAllChanges(), change -> {
        return DiffUtil.getLinesRange(editor.getDocument(), change.getStartLine(side), change.getEndLine(side));
      });
    }
@Override
    public @Nullable List<TextRange> getChangedRanges(@NotNull Editor editor)