void (@NotNull AnActionEvent e) { Editor editor = e.getData(CommonDataKeys.EDITOR); final Side side = Side.fromValue(getEditors(), editor); if (side == null) return; final List<SimpleDiffChange> selectedChanges = getSelectedChanges(side); if (selectedChanges.isEmpty()) return; doPerform(e, side, ContainerUtil.reverse(selectedChanges)); }