In the file browser one cannot search for a regular expression,
so do not mention it in the help text. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4653 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
a65ef4244c
Коммит
960a120468
@ -1,3 +1,7 @@
|
||||
2014-03-18 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/global.c (shortcut_init) - In the file browser one cannot
|
||||
search for a regular expression, so do not mention it.
|
||||
|
||||
2014-03-17 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/global.c (shortcut_init) - Show ^F and ^B instead of kright
|
||||
and kleft in the help lines of the tiny version.
|
||||
|
@ -613,6 +613,8 @@ void shortcut_init(bool unjustify)
|
||||
N_("Insert another file into the current one");
|
||||
const char *nano_whereis_msg =
|
||||
N_("Search for a string or a regular expression");
|
||||
const char *nano_browser_whereis_msg =
|
||||
N_("Search for a string");
|
||||
const char *nano_prevpage_msg = N_("Go to previous screen");
|
||||
const char *nano_nextpage_msg = N_("Go to next screen");
|
||||
const char *nano_cut_msg =
|
||||
@ -794,9 +796,12 @@ void shortcut_init(bool unjustify)
|
||||
NOVIEW);
|
||||
#endif
|
||||
|
||||
add_to_funcs(do_search, MMAIN|MBROWSER, whereis_msg,
|
||||
add_to_funcs(do_search, MMAIN, whereis_msg,
|
||||
IFSCHELP(nano_whereis_msg), FALSE, VIEW);
|
||||
|
||||
add_to_funcs(do_search, MBROWSER, whereis_msg,
|
||||
IFSCHELP(nano_browser_whereis_msg), FALSE, VIEW);
|
||||
|
||||
#ifndef NANO_TINY
|
||||
add_to_funcs(do_research, MBROWSER, whereis_next_msg,
|
||||
IFSCHELP(nano_whereis_next_msg), TRUE, VIEW);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user