10 if (action && action->is_undoable())
23 auto type = action->get_meta_type();
24 auto last_type = last_action->get_meta_type();
28 (
type == last_type) &&
29 action->merge_key != 0 &&
30 action->merge_key == last_action->merge_key &&
31 action->is_mergeable(*last_action);
36 action->merge_with(*last_action);
43 actions.emplace_back(std::move(action));