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
Этот коммит содержится в:
родитель
672821cb68
Коммит
be3e302a76
@ -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);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user