- Change all hardcoded instances of 128 bytes to MAX_BUF_SIZE,
and #define MAX_BUF_SIZE as 128 in nano.h. (DLR)
- Display the key to go to the previous strings in the
- search/replace history as "^P". This makes mouse clicks work
- properly on it. Changes to shortcut_init(), help_init(),
- nanogetstr(), and do_statusbar_input(). (DLR)
+ search/replace history as "^P" instead of "Up". This makes
+ mouse clicks work properly on it. Changes to shortcut_init(),
+ help_init(), nanogetstr(), and do_statusbar_input(). (DLR)
- Update the Free Software Foundation's mailing address in
various comments. (DLR)
- Add the ability to open a file on a specified column as well
#endif
#ifndef DISABLE_WRAPJUSTIFY
-static ssize_t fill = 0; /* Fill - where to wrap lines,
- basically */
+static ssize_t fill = 0; /* Fill - where to wrap lines */
#endif
#ifndef DISABLE_WRAPPING
static bool same_line_wrap = FALSE; /* Whether wrapped text should
#endif
#ifdef DEBUG
-/* Dump the passed-in file structure to stderr. */
+/* Dump the filestruct inptr to stderr. */
void dump_buffer(const filestruct *inptr)
{
if (inptr == fileage)
}
}
-/* Dump the file structure to stderr in reverse. */
+/* Dump the main filestruct to stderr in reverse. */
void dump_buffer_reverse(void)
{
const filestruct *fileptr = filebot;