]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Fri, 25 Aug 2006 19:26:48 +0000 (19:26 +0000)]
in shortcut_init(), make the help shortcut for the "Go to Directory"
prompt call do_browser_help() instead of do_help_void(), as this prompt
is only accessible inside the file browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3847
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 22 Aug 2006 18:48:13 +0000 (18:48 +0000)]
in shortcut_init(), remove the ^X shortcut for CutTillEnd at the search
prompt, as official Pico doesn't include it, and it can be confused with
Exit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3846
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 21 Aug 2006 21:37:39 +0000 (21:37 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3845
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 21 Aug 2006 14:04:28 +0000 (14:04 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3844
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 19 Aug 2006 11:11:51 +0000 (11:11 +0000)]
in help_init(), adjust the first two chunks of the main help text so
that they're no more than 509 characters again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3843
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 18 Aug 2006 20:30:25 +0000 (20:30 +0000)]
in digits(), remove the assumption that n is always positive, although
it always is in this particular case
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3842
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 18 Aug 2006 13:59:27 +0000 (13:59 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3841
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 15 Aug 2006 19:06:28 +0000 (19:06 +0000)]
remove unneeded duplicate plural forms, as gettext 0.15 generates errors
upon encountering them
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3840
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 7 Aug 2006 12:58:28 +0000 (12:58 +0000)]
wording fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3839
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 5 Aug 2006 16:48:57 +0000 (16:48 +0000)]
add one last TODO list item
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3838
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 3 Aug 2006 02:44:22 +0000 (02:44 +0000)]
in doc/syntax/c.nanorc, remove redundancy from the file extension
regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3837
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 2 Aug 2006 19:30:24 +0000 (19:30 +0000)]
revert redundant change
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3836
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 2 Aug 2006 19:13:31 +0000 (19:13 +0000)]
another comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3835
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 2 Aug 2006 18:41:55 +0000 (18:41 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3834
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 2 Aug 2006 18:38:45 +0000 (18:38 +0000)]
in edit_draw(), simplify the setting of paintlen
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3833
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 2 Aug 2006 17:02:49 +0000 (17:02 +0000)]
in doc/syntax/c.nanorc, tweak the multiline comment regex to not color
lines so aggressively
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3832
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 31 Jul 2006 23:29:22 +0000 (23:29 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3831
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 31 Jul 2006 23:28:27 +0000 (23:28 +0000)]
revert erroneous change
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3830
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 31 Jul 2006 18:25:25 +0000 (18:25 +0000)]
in parse_kbinput(), translate KEY_EVENT to ERR if we get it, so that
it's properly ignored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3829
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 31 Jul 2006 01:30:31 +0000 (01:30 +0000)]
per Benno Schulenberg's patch with a few tweaks by me, add various
clarifications to translated strings
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3828
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 30 Jul 2006 23:30:23 +0000 (23:30 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3827
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 30 Jul 2006 23:26:18 +0000 (23:26 +0000)]
make all the descriptions of -O/--morespace consistent
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3826
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 30 Jul 2006 23:18:15 +0000 (23:18 +0000)]
in nano.texi, add missing description of the -O/--morespace command line
option
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3825
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 Jul 2006 21:40:32 +0000 (21:40 +0000)]
fix inaccurate comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3824
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 Jul 2006 14:37:47 +0000 (14:37 +0000)]
make bad_mbchar a static const char* const in chars.c, as its value
doesn't change
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3823
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 Jul 2006 17:07:46 +0000 (17:07 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3822
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 Jul 2006 17:06:27 +0000 (17:06 +0000)]
per Benno Schulenberg's patch with a few additions by me, fix
punctuation relating to "i.e." in comments and documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3821
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 26 Jul 2006 17:42:16 +0000 (17:42 +0000)]
in doc/Makefile.am, don't include nanorc.sample in EXTRA_DIST, as it's
only useful when we're building from source, as opposed to building a
distribution; also, tweak doc/Makefile.am and doc/man/Makefile.am to
remove usage of the += operator again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3819
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 26 Jul 2006 03:20:37 +0000 (03:20 +0000)]
add miscellaneous minor fixes to the faq, and preemptively update its
version number
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3818
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 Jul 2006 22:24:48 +0000 (22:24 +0000)]
in toggle_init(), make sure that a blank line is not displayed after the
Meta-Q toggle when mouse support is disabled and we're in restricted
mode, and that it is displayed all other times
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3817
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 Jul 2006 21:19:02 +0000 (21:19 +0000)]
update changelog entry: the renaming of the scroll_dir enums also fixes
compilation on NetBSD 3.0, as reported by Adam Wysocki
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3816
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 Jul 2006 21:13:30 +0000 (21:13 +0000)]
when DISABLE_HELP is defined, leave out some unused shortcut and toggle
list parameters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3815
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 Jul 2006 19:23:35 +0000 (19:23 +0000)]
in parse_escape_seq_kbinput(), Don't ignore escape sequences anymore;
instead, return the corresponding key so that parse_kbinput() can
translate it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3814
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 Jul 2006 21:22:49 +0000 (21:22 +0000)]
another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3813
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 Jul 2006 19:15:35 +0000 (19:15 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3812
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 Jul 2006 18:53:54 +0000 (18:53 +0000)]
in parse_kbinput(), properly handle combined control character and
escape sequences, so that e.g. Esc Esc / will work properly when the /
is on the numeric keypad and NumLock is off
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3811
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 Jul 2006 19:57:30 +0000 (19:57 +0000)]
in do_help(), don't allow moving down a page when the last line of the
help text is onscreen
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3810
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 Jul 2006 19:55:44 +0000 (19:55 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3809
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 Jul 2006 18:00:50 +0000 (18:00 +0000)]
typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3808
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 Jul 2006 17:54:35 +0000 (17:54 +0000)]
in parse_escape_seq_kbinput(), handle unknown and unignored escape
sequences once instead of handling them twice in parse_kbinput()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3807
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 Jul 2006 17:25:38 +0000 (17:25 +0000)]
in parse_kbinput(), translate extended keypad keys to their ASCII
equivalents even when we hit Escape once or twice before typing them,
for consistency; also, if they're defined, translate KEY_SUP into
NANO_PREVLINE_KEY and KEY_SDOWN into NANO_NEXTLINE_KEY, since they are
sometimes generated by Shift-Up and Shift-Down
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3806
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 Jul 2006 16:00:03 +0000 (16:00 +0000)]
in parse_kbinput(), properly handle combined meta and escape sequences,
so that e.g. Meta-+ will work properly when the + is on the numeric
keypad and NumLock is off
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3805
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 22 Jul 2006 16:50:17 +0000 (16:50 +0000)]
typo fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3804
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 22 Jul 2006 16:45:11 +0000 (16:45 +0000)]
in mbstrncasecmp(), mbstrcasestr(), and mbrevstrcasestr(), don't
allocate space for multibyte characters until we've asserted that the
parameters we're using aren't NULL
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3803
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 22 Jul 2006 15:57:28 +0000 (15:57 +0000)]
update UPGRADE to fix the description of +LINE,COLUMN
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3802
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 21 Jul 2006 16:44:44 +0000 (16:44 +0000)]
update UPGRADE to account for the ability to indent unmarked lines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3801
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 19:42:47 +0000 (19:42 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3800
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 19:40:54 +0000 (19:40 +0000)]
when using slang 2.x, call SLutf8_enable() with an argument of 1 instead
of TRUE, as that's the proper way to force its UTF-8 support on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3799
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 15:50:19 +0000 (15:50 +0000)]
rename the DISABLE_ROOTWRAP #define to DISABLE_ROOTWRAPPING
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3798
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 13:34:55 +0000 (13:34 +0000)]
miscellaneous minor fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3797
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 02:44:56 +0000 (02:44 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3796
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 00:38:27 +0000 (00:38 +0000)]
fix changelog entries
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3795
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 00:21:17 +0000 (00:21 +0000)]
per Daniel Richard G.'s patch, in parse_rcfile(), add missing
ENABLE_COLOR #ifdef around the second check for a syntax with no color
commands, to fix compilation without color support
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3794
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 Jul 2006 00:14:52 +0000 (00:14 +0000)]
rename the values of the scroll_dir enum to UP_DIR and DOWN_DIR, since
UP is defined as a termcap value in Tru64's curses.h, which breaks
compilation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3793
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Jul 2006 18:28:10 +0000 (18:28 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3792
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Jul 2006 18:25:56 +0000 (18:25 +0000)]
revert unneeded #ifdef fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3791
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 Jul 2006 18:16:30 +0000 (18:16 +0000)]
add various cosmetic and #ifdef fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3790
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 13:28:13 +0000 (13:28 +0000)]
improve the display of bools in debugging statements
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3789
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 13:27:16 +0000 (13:27 +0000)]
in replace_regexp(), remove unnecessary casting of c to int
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3788
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 12:18:57 +0000 (12:18 +0000)]
in do_insertfile(), remove redundant code: we only mark the file as
modified if we're not in multibuffer mode, in which case view mode
should never be on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3787
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 04:19:53 +0000 (04:19 +0000)]
in do_insertfile(), if we don't insert a file into a new buffer,
properly update the x-coordinate to account for the number of characters
inserted on the current line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3786
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 03:06:36 +0000 (03:06 +0000)]
in do_insertfile(), if we're in view mode, as we can be if multibuffer
mode is on, don't mark the file as modified (and remove the code that
does this in execute_command()); also, if we execute a command in a new
buffer, move back to the beginning of the first line of the buffer
afterwards, for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3785
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 13 Jul 2006 02:10:27 +0000 (02:10 +0000)]
more typo fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3784
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 19:30:54 +0000 (19:30 +0000)]
remove unneeded blank lines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3783
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 19:12:40 +0000 (19:12 +0000)]
in nano.h, remove the manual disabling of color support if regex.h isn't
found, as configure.ac now handles that
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3782
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 18:59:29 +0000 (18:59 +0000)]
in configure.ac, if regex.h isn't found, display an error message if we
try to enable color support; also, fix the spacing of the error message
displayed when slcurses.h isn't found
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3781
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 18:57:04 +0000 (18:57 +0000)]
don't include sys/ioctl.h in nano.c when NANO_TINY is defined, as
ioctl() is never used then
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3780
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 18:09:37 +0000 (18:09 +0000)]
in nano.h, if we don't have nanorc support, disable color support, as it
depends on the use of the nanorc
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3779
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 12 Jul 2006 16:50:43 +0000 (16:50 +0000)]
make Jordi's email address, and the description of what the manual pages
were written for, consistent in the documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3778
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 18:17:56 +0000 (18:17 +0000)]
in do_browse_from(), don't bother freeing path if it's NULL
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3777
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 18:12:24 +0000 (18:12 +0000)]
revert erroneous change
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3776
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 17:25:12 +0000 (17:25 +0000)]
add miscellaneous minor cleanups to do_browser(), do_browse_from(), and
browser_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3775
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 17:01:45 +0000 (17:01 +0000)]
clean up the TODO list a bit more
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3774
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 11 Jul 2006 16:58:20 +0000 (16:58 +0000)]
mention the need to handle resizes better in the TODO list, and clean it
up a bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3773
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 9 Jul 2006 00:52:16 +0000 (00:52 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3772
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 9 Jul 2006 00:50:23 +0000 (00:50 +0000)]
remove unneeded #ifdef
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3771
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 9 Jul 2006 00:47:21 +0000 (00:47 +0000)]
revert erroneous change
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3770
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 8 Jul 2006 23:45:15 +0000 (23:45 +0000)]
in titlebar(), don't display any blank space for the state if we're in
the file browser, as Pico doesn't, and since path is always assumed to
be NULL if DISABLE_BROWSER is defined, put the check for its being NULL
in a DISABLE_BROWSER #define
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3769
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 8 Jul 2006 21:23:53 +0000 (21:23 +0000)]
typo fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3768
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Jul 2006 16:21:45 +0000 (16:21 +0000)]
fix inaccurate comments
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3767
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Jul 2006 16:12:24 +0000 (16:12 +0000)]
still more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3766
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Jul 2006 15:54:32 +0000 (15:54 +0000)]
another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3765
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 7 Jul 2006 13:54:38 +0000 (13:54 +0000)]
per John M. Gabriele's patch with a few tweaks by me, in
doc/syntax/ruby.nanorc, improve highlighting of constants
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3764
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 6 Jul 2006 22:17:47 +0000 (22:17 +0000)]
consolidate do_scroll_(up|down)() into do_(up|down)(), as they have a
lot of common code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3763
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 6 Jul 2006 20:40:53 +0000 (20:40 +0000)]
in do_scroll_up() and do_scroll_down(), fix problems where, after
scrolling, the previous and current lines would not be updated properly
if the current line was not the first or last line of the edit window
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3762
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 6 Jul 2006 20:36:01 +0000 (20:36 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3761
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 6 Jul 2006 18:29:37 +0000 (18:29 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3760
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 19:52:27 +0000 (19:52 +0000)]
add another post-2.0 item
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3759
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 18:42:22 +0000 (18:42 +0000)]
if the mark isn't on, allow Meta-} and Meta-{ to indent and unindent
only the current line, just as it would if the mark covered only the
current line, instead of displaying a statusbar message and quitting
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3758
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 16:46:22 +0000 (16:46 +0000)]
another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3757
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 16:09:36 +0000 (16:09 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3756
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 15:21:18 +0000 (15:21 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3755
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 15:20:16 +0000 (15:20 +0000)]
another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3754
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 14:27:14 +0000 (14:27 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3753
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 14:14:06 +0000 (14:14 +0000)]
in get_full_path(), don't return NULL when the current directory doesn't
exist, as we can still recover from that, and also add various cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3752
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 06:38:47 +0000 (06:38 +0000)]
in browser_refresh() and titlebar(), don't display overly long filenames
with ellipses if the number of columns is extremely small; also, in
certain places, call wnoutrefresh(bottomwin) after calling
blank_statusbar(), in order to ensure that the statusbar is actually
blanked
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3751
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 05:43:20 +0000 (05:43 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3750
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 05:31:21 +0000 (05:31 +0000)]
in display_string(), properly handle buf[start_index]'s being a null
terminator
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3749
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 05:14:11 +0000 (05:14 +0000)]
still more miscellaneous minor fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3748
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Jul 2006 04:04:30 +0000 (04:04 +0000)]
another miscellaneous minor fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3747
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8