(edit_mark_cmd): take gboolean instead of int.