functions 'tofiles','gotodir' and 'flipnewbuffer', and correct
the description of 'gototext' (not being about the file browser).
* doc/syntax/nanorc.nanorc: Show Ins and Del as valid rebindable keys.
+ * src/help.c (do_help): Normalize the indentation.
2014-06-22 Benno Schulenberg <bensberg@justemail.net>
* src/browser.c (parse_browser_input), src/help.c (parse_help_input):
#ifndef DISABLE_MOUSE
if (kbinput == KEY_MOUSE) {
- int mouse_x, mouse_y;
- get_mouseinput(&mouse_x, &mouse_y, TRUE);
- continue; /* Redraw the screen. */
+ int mouse_x, mouse_y;
+ get_mouseinput(&mouse_x, &mouse_y, TRUE);
+ continue; /* Redraw the screen. */
}
#endif
continue;
if (f->scfunc == total_refresh) {
- total_redraw();
+ total_redraw();
} else if (f->scfunc == do_page_up) {
- if (line > editwinrows - 2)
- line -= editwinrows - 2;
- else
- line = 0;
+ if (line > editwinrows - 2)
+ line -= editwinrows - 2;
+ else
+ line = 0;
} else if (f->scfunc == do_page_down) {
- if (line + (editwinrows - 1) < last_line)
- line += editwinrows - 2;
+ if (line + (editwinrows - 1) < last_line)
+ line += editwinrows - 2;
} else if (f->scfunc == do_up_void) {
- if (line > 0)
- line--;
+ if (line > 0)
+ line--;
} else if (f->scfunc == do_down_void) {
- if (line + (editwinrows - 1) < last_line)
- line++;
+ if (line + (editwinrows - 1) < last_line)
+ line++;
} else if (f->scfunc == do_first_line) {
- if (meta_key)
- line = 0;
+ if (meta_key)
+ line = 0;
} else if (f->scfunc == do_last_line) {
- if (meta_key) {
- if (line + (editwinrows - 1) < last_line)
- line = last_line - (editwinrows - 1);
- }
+ if (meta_key) {
+ if (line + (editwinrows - 1) < last_line)
+ line = last_line - (editwinrows - 1);
+ }
} else if (f->scfunc == do_exit) {
- /* Abort the help browser. */
+ /* Exit from the help browser. */
break;
}
}