more miscellaneous fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
ce9d299c47
commit
1e64db6629
|
@ -8,9 +8,9 @@ CVS code -
|
||||||
- Change all hardcoded instances of 128 bytes to MAX_BUF_SIZE,
|
- Change all hardcoded instances of 128 bytes to MAX_BUF_SIZE,
|
||||||
and #define MAX_BUF_SIZE as 128 in nano.h. (DLR)
|
and #define MAX_BUF_SIZE as 128 in nano.h. (DLR)
|
||||||
- Display the key to go to the previous strings in the
|
- Display the key to go to the previous strings in the
|
||||||
search/replace history as "^P". This makes mouse clicks work
|
search/replace history as "^P" instead of "Up". This makes
|
||||||
properly on it. Changes to shortcut_init(), help_init(),
|
mouse clicks work properly on it. Changes to shortcut_init(),
|
||||||
nanogetstr(), and do_statusbar_input(). (DLR)
|
help_init(), nanogetstr(), and do_statusbar_input(). (DLR)
|
||||||
- Update the Free Software Foundation's mailing address in
|
- Update the Free Software Foundation's mailing address in
|
||||||
various comments. (DLR)
|
various comments. (DLR)
|
||||||
- Add the ability to open a file on a specified column as well
|
- Add the ability to open a file on a specified column as well
|
||||||
|
|
|
@ -53,8 +53,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DISABLE_WRAPJUSTIFY
|
#ifndef DISABLE_WRAPJUSTIFY
|
||||||
static ssize_t fill = 0; /* Fill - where to wrap lines,
|
static ssize_t fill = 0; /* Fill - where to wrap lines */
|
||||||
basically */
|
|
||||||
#endif
|
#endif
|
||||||
#ifndef DISABLE_WRAPPING
|
#ifndef DISABLE_WRAPPING
|
||||||
static bool same_line_wrap = FALSE; /* Whether wrapped text should
|
static bool same_line_wrap = FALSE; /* Whether wrapped text should
|
||||||
|
|
|
@ -3987,7 +3987,7 @@ int check_linenumbers(const filestruct *fileptr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
/* Dump the passed-in file structure to stderr. */
|
/* Dump the filestruct inptr to stderr. */
|
||||||
void dump_buffer(const filestruct *inptr)
|
void dump_buffer(const filestruct *inptr)
|
||||||
{
|
{
|
||||||
if (inptr == fileage)
|
if (inptr == fileage)
|
||||||
|
@ -4003,7 +4003,7 @@ void dump_buffer(const filestruct *inptr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dump the file structure to stderr in reverse. */
|
/* Dump the main filestruct to stderr in reverse. */
|
||||||
void dump_buffer_reverse(void)
|
void dump_buffer_reverse(void)
|
||||||
{
|
{
|
||||||
const filestruct *fileptr = filebot;
|
const filestruct *fileptr = filebot;
|
||||||
|
|
Loading…
Reference in New Issue