2014-04-23 Benno Schulenberg <bensberg@justemail.net>
* src/winio.c, src/help.c, src/text.c, src/browser.c: Remove
several unneeded double semicolons, and two relic comments.
+ * src/help.c (parse_help_input), src/browser.c (parse_browser_input):
+ Make the Minus and Space keys work in the help viewer and file browser
+ also when the PrevPage and NextPage functions are bound to meta-key
+ sequences -- searching for these will not find them. So, instead put
+ in the standard key code. This fixes Savannah bug #42140.
2014-04-22 Benno Schulenberg <bensberg@justemail.net>
* src/global.c (shortcut_init): Put the movement keys in the
if (!*meta_key) {
switch (*kbinput) {
case ' ':
- *kbinput = sc_seq_or(do_page_down, 0);
+ *kbinput = KEY_NPAGE;
break;
case '-':
- *kbinput = sc_seq_or(do_page_up, 0);
+ *kbinput = KEY_PPAGE;
break;
case '?':
#ifndef DISABLE_HELP
switch (*kbinput) {
/* For consistency with the file browser. */
case ' ':
- *kbinput = sc_seq_or(do_page_down, 0);
+ *kbinput = KEY_NPAGE;
break;
case '-':
- *kbinput = sc_seq_or(do_page_up, 0);
+ *kbinput = KEY_PPAGE;
break;
case 'E':
case 'e':