help: group the now lone mouse toggle with the "behavioral" ones
parent
52d4b96639
commit
8da098f5e0
|
@ -1366,7 +1366,7 @@ void shortcut_init(void)
|
||||||
add_to_sclist(MMAIN, "M-Y", 0, do_toggle_void, NO_SYNTAX);
|
add_to_sclist(MMAIN, "M-Y", 0, do_toggle_void, NO_SYNTAX);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Group of "Editing-behavior" toggles. */
|
/* Group of "Behavior" toggles. */
|
||||||
add_to_sclist(MMAIN, "M-H", 0, do_toggle_void, SMART_HOME);
|
add_to_sclist(MMAIN, "M-H", 0, do_toggle_void, SMART_HOME);
|
||||||
add_to_sclist(MMAIN, "M-I", 0, do_toggle_void, AUTOINDENT);
|
add_to_sclist(MMAIN, "M-I", 0, do_toggle_void, AUTOINDENT);
|
||||||
add_to_sclist(MMAIN, "M-K", 0, do_toggle_void, CUT_FROM_CURSOR);
|
add_to_sclist(MMAIN, "M-K", 0, do_toggle_void, CUT_FROM_CURSOR);
|
||||||
|
@ -1374,8 +1374,6 @@ void shortcut_init(void)
|
||||||
add_to_sclist(MMAIN, "M-L", 0, do_toggle_void, BREAK_LONG_LINES);
|
add_to_sclist(MMAIN, "M-L", 0, do_toggle_void, BREAK_LONG_LINES);
|
||||||
#endif
|
#endif
|
||||||
add_to_sclist(MMAIN, "M-O", 0, do_toggle_void, TABS_TO_SPACES);
|
add_to_sclist(MMAIN, "M-O", 0, do_toggle_void, TABS_TO_SPACES);
|
||||||
|
|
||||||
/* Group of "Peripheral-feature" toggles. */
|
|
||||||
#ifdef ENABLE_MOUSE
|
#ifdef ENABLE_MOUSE
|
||||||
add_to_sclist(MMAIN, "M-M", 0, do_toggle_void, USE_MOUSE);
|
add_to_sclist(MMAIN, "M-M", 0, do_toggle_void, USE_MOUSE);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -304,7 +304,8 @@ void help_init(void)
|
||||||
if (s->toggle && s->ordinal == counter) {
|
if (s->toggle && s->ordinal == counter) {
|
||||||
ptr += sprintf(ptr, "%s\t\t %s %s\n", (s->menus & MMAIN ? s->keystr : ""),
|
ptr += sprintf(ptr, "%s\t\t %s %s\n", (s->menus & MMAIN ? s->keystr : ""),
|
||||||
_(flagtostr(s->toggle)), _("enable/disable"));
|
_(flagtostr(s->toggle)), _("enable/disable"));
|
||||||
if (s->toggle == NO_SYNTAX || s->toggle == TABS_TO_SPACES)
|
/* Add a blank like between two groups. */
|
||||||
|
if (s->toggle == NO_SYNTAX)
|
||||||
ptr += sprintf(ptr, "\n");
|
ptr += sprintf(ptr, "\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue