Commit be3e302a authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Paragraph jumping only makes sense in the MAIN editing menu,

thus removing the shortcuts from all others.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4831 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 6 additions and 4 deletions
+6 -4
......@@ -7,6 +7,8 @@
the same manner as in the help lines, and group them per menu.
* src/global.c (shortcut_init): Remove the search-mode toggles
from the inappropriate WHEREISFILE and REPLACEWITH menus.
* src/global.c (shortcut_init): Paragraph jumping only makes
sense in the main editing menu; remove it from all others.
2014-04-30 Benno Schulenberg <bensberg@justemail.net>
* src/*, doc/*: Update the years in the copyright notices -- there
......
......@@ -1061,10 +1061,10 @@ void shortcut_init(void)
add_to_sclist(MMAIN|MHELP|MBROWSER, "^N", do_down_void, 0, TRUE);
add_to_sclist(MMAIN|MHELP|MBROWSER, "Down", do_down_void, 0, TRUE);
#ifndef DISABLE_JUSTIFY
add_to_sclist(MMOST, "M-(", do_para_begin_void, 0, TRUE);
add_to_sclist(MMOST, "M-9", do_para_begin_void, 0, TRUE);
add_to_sclist(MMOST, "M-)", do_para_end_void, 0, TRUE);
add_to_sclist(MMOST, "M-0", do_para_end_void, 0, TRUE);
add_to_sclist(MMAIN, "M-(", do_para_begin_void, 0, TRUE);
add_to_sclist(MMAIN, "M-9", do_para_begin_void, 0, TRUE);
add_to_sclist(MMAIN, "M-)", do_para_end_void, 0, TRUE);
add_to_sclist(MMAIN, "M-0", do_para_end_void, 0, TRUE);
#endif
#ifndef NANO_TINY
add_to_sclist(MMAIN, "M--", do_scroll_up, 0, TRUE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment