diff -u -r yadex-1.7.0/src/editloop.cc yadex-1.7.0-ins/src/editloop.cc --- yadex-1.7.0/src/editloop.cc 2003-07-05 21:12:32.000000000 +1000 +++ yadex-1.7.0-ins/src/editloop.cc 2005-01-10 13:54:46.000000000 +1100 @@ -304,8 +304,8 @@ e.mb_menu[MBM_EDIT] = new Menu (NULL, "~Copy object(s)", 'o', 0, - "~Add object", YK_INS, 0, - "~Delete object(s)", YK_DEL, 0, + "~Add object", 'I', 0, + "~Delete object(s)", '\b', 0, "~Exchange object numbers", 24, 0, "~Preferences...", YK_F5, 0, "~Snap to grid", 'y', MIF_VTICK, &e.grid_snap, 0, @@ -1344,8 +1344,8 @@ } } - // [F8]: pop up the "Misc. operations" menu - else if (is.key == YK_F8 + // [M]: pop up the "Misc. operations" menu + else if (is.key == 'M' && e.menubar->highlighted () < 0) { e.modpopup->set (e.menubar->get_menu (MBI_MISC), 1); @@ -1987,7 +1987,7 @@ } // [Del]: delete the current object - else if (is.key == YK_DEL + else if (is.key == '\b' && (e.Selected || e.highlighted ())) /* 'Del' */ { if (e.obj_type == OBJ_THINGS @@ -2015,7 +2015,7 @@ } // [Ins]: insert a new object - else if (is.key == YK_INS || is.key == YK_INS + YK_SHIFT) /* 'Ins' */ + else if (is.key == 'I' || is.key == YK_INS + YK_SHIFT) /* 'Ins' */ { SelPtr cur; int prev_obj_type = e.obj_type;