@NotNull
  @RequiresEdt
  protected List<UnifiedDiffChange> getSelectedChanges() {
    final BitSet lines = DiffUtil.getSelectedLines(myEditor);
    List<UnifiedDiffChange> changes = ContainerUtil.notNullize(myModel.getDiffChanges());
    return ContainerUtil.filter(changes, change -> isChangeSelected(change, lines));
  }
@NotNull
  @RequiresEdt
  protected List<UnifiedDiffChange> getSelectedChanges()