+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.
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 =
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);