2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>

* global.c (shortcut_init), browser.c (do_browser): Fix M-W not being bound to 
          research in either main menu or browser.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4461 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2009-12-09 17:09:37 +00:00
parent 2c7b506fbc
commit f387f33083
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2009-12-07 David Lawrence Ramsey <pooka109@gmail.com>
* global.c (shortcut_init), browser.c (do_browser): Fix M-W not being bound to
research in either main menu or browser.
2009-12-09 Chris Allegretta <chrisa@asty.org> 2009-12-09 Chris Allegretta <chrisa@asty.org>
* files.c (read_file) - Add parameter for whether we should even try to check * files.c (read_file) - Add parameter for whether we should even try to check
file writability, as the message is useless when we're inserting into an file writability, as the message is useless when we're inserting into an

View File

@ -184,7 +184,7 @@ char *do_browser(char *path, DIR *dir)
do_filesearch(); do_filesearch();
curs_set(0); curs_set(0);
/* Search for another filename. */ /* Search for another filename. */
} else if (f->scfunc == WHEREIS_NEXT_MSG) { } else if (f->scfunc == DO_RESEARCH) {
do_fileresearch(); do_fileresearch();
} else if (f->scfunc == DO_PAGE_UP) { } else if (f->scfunc == DO_PAGE_UP) {
if (selected >= (editwinrows + fileline % editwinrows) * if (selected >= (editwinrows + fileline % editwinrows) *

View File

@ -1062,8 +1062,8 @@ void shortcut_init(bool unjustify)
add_to_sclist(MMAIN, "^^", DO_MARK, 0, TRUE); add_to_sclist(MMAIN, "^^", DO_MARK, 0, TRUE);
add_to_sclist(MMAIN, "F15", DO_MARK, 0, TRUE); add_to_sclist(MMAIN, "F15", DO_MARK, 0, TRUE);
add_to_sclist(MMAIN, "M-A", DO_MARK, 0, TRUE); add_to_sclist(MMAIN, "M-A", DO_MARK, 0, TRUE);
add_to_sclist(MALL, "M-W", DO_RESEARCH, 0, TRUE); add_to_sclist(MMAIN|MBROWSER, "M-W", DO_RESEARCH, 0, TRUE);
add_to_sclist(MALL, "F16", DO_RESEARCH, 0, TRUE); add_to_sclist(MMAIN|MBROWSER, "F16", DO_RESEARCH, 0, TRUE);
add_to_sclist(MMAIN, "M-^", DO_COPY_TEXT, 0, TRUE); add_to_sclist(MMAIN, "M-^", DO_COPY_TEXT, 0, TRUE);
add_to_sclist(MMAIN, "M-6", DO_COPY_TEXT, 0, TRUE); add_to_sclist(MMAIN, "M-6", DO_COPY_TEXT, 0, TRUE);
add_to_sclist(MMAIN, "M-}", DO_INDENT_VOID, 0, TRUE); add_to_sclist(MMAIN, "M-}", DO_INDENT_VOID, 0, TRUE);