* src/prompt.c (do_prompt, get_prompt_string): Don't pass the
menu, just set it earlier.
* src/prompt.c (get_prompt_string): Group the arguments better.
+ * src/global.c (shortcut_init), src/browser(do_filesearch): Show
+ that it is possible to have case-sensitive, regular-expressive,
+ and backwards searching in the file browser.
2014-06-30 Mark Majeres <mark@engine12.com>
* src/cut.c, src/global.c, src/nano.c: Rename 'cut_till_end' to
#endif
#ifndef NANO_TINY
- add_to_funcs(case_sens_void, MWHEREIS|MREPLACE,
+ add_to_funcs(case_sens_void, MWHEREIS|MREPLACE|MWHEREISFILE,
N_("Case Sens"), IFSCHELP(nano_case_msg), FALSE, VIEW);
#endif
#ifdef HAVE_REGEX_H
- add_to_funcs(regexp_void, MWHEREIS|MREPLACE,
+ add_to_funcs(regexp_void, MWHEREIS|MREPLACE|MWHEREISFILE,
N_("Regexp"), IFSCHELP(nano_regexp_msg), FALSE, VIEW);
#endif
#ifndef NANO_TINY
- add_to_funcs(backwards_void, MWHEREIS|MREPLACE,
+ add_to_funcs(backwards_void, MWHEREIS|MREPLACE|MWHEREISFILE,
N_("Backwards"), IFSCHELP(nano_reverse_msg), FALSE, VIEW);
#endif
add_to_sclist(((MMOST & ~MMAIN & ~MBROWSER) | MYESNO), "^C", do_cancel, 0);
#ifndef NANO_TINY
- add_to_sclist(MWHEREIS|MREPLACE, "M-B", backwards_void, 0);
- add_to_sclist(MWHEREIS|MREPLACE, "M-C", case_sens_void, 0);
+ add_to_sclist(MWHEREIS|MREPLACE|MWHEREISFILE, "M-B", backwards_void, 0);
+ add_to_sclist(MWHEREIS|MREPLACE|MWHEREISFILE, "M-C", case_sens_void, 0);
#endif
- add_to_sclist(MWHEREIS|MREPLACE, "M-R", regexp_void, 0);
+ add_to_sclist(MWHEREIS|MREPLACE|MWHEREISFILE, "M-R", regexp_void, 0);
add_to_sclist(MWHEREIS|MREPLACE, "^R", flip_replace_void, 0);
add_to_sclist(MWHEREIS|MREPLACE|MREPLACEWITH|MGOTOLINE, "^Y", do_first_line, 0);
add_to_sclist(MWHEREIS|MREPLACE|MREPLACEWITH|MGOTOLINE, "^V", do_last_line, 0);