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