David Lawrence Ramsey
decae6c25e
per Mike Frysinger's patch, in doc/syntax/c.nanorc, since .i and .ii are
...
preprocessed C and C++ output, colorize them there
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3684 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-26 23:40:31 +00:00
David Lawrence Ramsey
74d8ebc041
add various option description fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3683 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-26 04:39:31 +00:00
David Lawrence Ramsey
899d0360ec
Back to CVS
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3682 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-26 04:03:31 +00:00
David Lawrence Ramsey
db5b54767c
GNU nano 1.3.12
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3680 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-26 04:01:31 +00:00
David Lawrence Ramsey
5c8d316a27
per John M. Gabriele's patch with a few tweaks by me, in README and
...
README.CVS, add various cosmetic and wording improvements
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-25 04:37:05 +00:00
David Lawrence Ramsey
d76de38109
in edit_draw(), don't display any statusbar message when we get a
...
zero-length regex, as we can get one under legitimate circumstances
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3677 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-21 20:51:36 +00:00
David Lawrence Ramsey
5c878088a1
in update_line(), remove unneeded assert, and now-unused function
...
check_linenumbers()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3676 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-21 16:54:51 +00:00
David Lawrence Ramsey
a4fc77a5da
in digits(), return the proper number of digits when n is exactly 10,
...
and simplify it to use a for loop instead of a while loop
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3674 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-21 16:01:20 +00:00
David Lawrence Ramsey
23ed015725
in help_init(), display the shortcut list help text even when we have
...
fewer than 24 columns, for consistency with the toggle help text, and
add various minor consistency fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 16:04:42 +00:00
David Lawrence Ramsey
bd2c8f3d2d
in help_init(), make sure we have enough memory in all cases when
...
displaying the shortcut and toggle lists; and wrap the shortcut list
help text, for consistency with the toggle help text
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 15:35:35 +00:00
David Lawrence Ramsey
186c795b88
in help_line_len(), properly handle the case where we can't break the
...
line of help text, and wrap the line of help text at (COLS - 1) instead
of (COLS - 8), for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3666 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 14:18:22 +00:00
David Lawrence Ramsey
4f2a073cf9
per Benno Schulenberg's patch, in do_writeout(), fix problem where the
...
modifiers at the "Write File" prompt were marked for translation via
gettext no-ops but never actually translated; also, in do_insertfile(),
use actual gettext calls instead of no-ops, for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3660 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-14 13:19:43 +00:00
David Lawrence Ramsey
b0226fb86a
in faq.html, update section 5.3, due to the display fix for two-column
...
Unicode characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3659 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-12 20:26:38 +00:00
David Lawrence Ramsey
503bad02fe
disable mouse support while suspended
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3655 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-09 18:24:37 +00:00
David Lawrence Ramsey
f32e1dd589
in do_spell(), set currshortcut to main_list before calling
...
total_refresh() near the end of the function, so that we don't display
the wrong shortcut list
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3651 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-09 17:09:51 +00:00
David Lawrence Ramsey
b5e66d05cb
make the changed suspend/continue routines work properly under slang
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3650 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-09 16:57:41 +00:00
David Lawrence Ramsey
3ce7e9dcac
in do_spell(), call total_redraw() instead of total_refresh() after
...
running the spell-checker, since the latter will display the wrong
shortcut list
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3649 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-09 16:34:00 +00:00
David Lawrence Ramsey
85c775a3a3
make suspension clear the screen and put the cursor on the last line
...
before displaying anything, as Pico does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3648 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-09 16:04:19 +00:00
David Lawrence Ramsey
c9855a7e46
fix changelog entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3645 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-09 12:46:31 +00:00
David Lawrence Ramsey
9c2f7ab341
per Benno Schulenberg's patch, in help_init(), if one of the help
...
strings ends in newlines followed by a space, move the space to the next
help string to make it easier for translators to see
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3644 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-09 12:44:34 +00:00
David Lawrence Ramsey
9368217972
add various minor regex and comment tweaks, mostly by John M. Gabriele
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3641 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 12:49:57 +00:00
David Lawrence Ramsey
131909fdea
remove now-unneeded changelog entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3640 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:56:19 +00:00
David Lawrence Ramsey
4bb60db078
more minor wording fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3637 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:50:56 +00:00
David Lawrence Ramsey
25bc37e7c8
add minor documentation fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3636 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:45:38 +00:00
David Lawrence Ramsey
69e1ce56df
per Benno Schulenberg's patch with a few tweaks by me, add minor wording
...
fixes to various messages
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3635 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:37:45 +00:00
David Lawrence Ramsey
9e553b21f3
per Benno Schulenberg's patch, add a wording fix to help_init()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3634 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:16:37 +00:00
David Lawrence Ramsey
f94b993535
per Benno Schulenberg's patch, add single quotes around the invalid
...
string argument in the error message about unterminated strings, to
avoid confusion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3633 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:13:37 +00:00
David Lawrence Ramsey
c923eb9c6a
add minor documentation fixes from John M. Gabriele
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3629 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-06 22:15:44 +00:00
David Lawrence Ramsey
96dce26401
various minor include fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3627 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-06 18:41:58 +00:00
David Lawrence Ramsey
0e963be59d
mention the removal of the workaround for glibc 2.2.3's broken regexec()
...
in UPGRADE too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3625 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-05 15:44:55 +00:00
David Lawrence Ramsey
b5a7bbf4f3
remove the workaround for glibc 2.2.3's broken regexec(), and replace it
...
with a FAQ entry explaining the problem, since it could break anything
using extended regular expressions, and glibc 2.2.3 is old
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3624 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-05 15:41:23 +00:00
David Lawrence Ramsey
57d81ecef9
update changelog entries
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3623 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-04 18:05:17 +00:00
David Lawrence Ramsey
7d9e5bfb36
in faq.html, add minor punctuation and wording fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3621 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-04 17:22:16 +00:00
David Lawrence Ramsey
4dbdbd4660
per Benno Schulenberg's patch, fix changelog entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3618 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-04 13:27:50 +00:00
David Lawrence Ramsey
497a9a2032
in ngetdelim(), set errno to EINVAL if stream is not a valid file
...
stream; this matches the manual page
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3617 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-04 00:15:56 +00:00
David Lawrence Ramsey
106c1bf3d1
beep when we get an unhandled shortcut or toggle, as Pico does
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3616 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-03 19:36:02 +00:00
David Lawrence Ramsey
f70f67bd10
more miscellaneous minor fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3615 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-03 17:31:52 +00:00
David Lawrence Ramsey
299ab27363
add minor nanorc regex tweaks by John M. Gabriele, and minor sh regex
...
tweaks by Benno Schulenberg
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3614 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-03 12:41:02 +00:00
David Lawrence Ramsey
a95bdee2cf
cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3613 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-03 02:09:10 +00:00
David Lawrence Ramsey
e4157968fb
move the nanorc regexes to a separate file too
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3607 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 18:35:39 +00:00
David Lawrence Ramsey
5e6434cf54
move color regexes into separate files, and restructure things so that
...
they're installed properly and nanorc.sample references them properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3604 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 17:23:28 +00:00
David Lawrence Ramsey
17ab6ed580
in doc/man/Makefile.am, simplify the setting of SUBDIRS
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3603 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 16:53:03 +00:00
David Lawrence Ramsey
6119fabdcc
in nanorc.sample, per John M. Gabriele's patch with a few tweaks by me,
...
add regexes for Ruby
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3602 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 02:19:54 +00:00
David Lawrence Ramsey
5f90b4fbd8
in nanorc.sample, per John M. Gabriele's patch, tweak the "nanorc"
...
regexes to color keywords bright green instead of cyan
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3601 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 01:58:42 +00:00
David Lawrence Ramsey
3dc0e23e0c
in nanorc.sample, simplify the extensions associated with the "nanorc"
...
regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3600 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 01:54:41 +00:00
David Lawrence Ramsey
c1662f2eb7
in nanorc.sample, per John M. Gabriele's patch, tweak the "nanorc"
...
regexes to color comments bright blue instead of blue
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3599 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 01:51:41 +00:00
David Lawrence Ramsey
95ff10ec47
in nanorc.sample, per Benno Schulenberg's patch, tweak the "shellscript"
...
regexes to properly color all special variables, such as $? and $@
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3598 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 01:26:35 +00:00
David Lawrence Ramsey
2888964c76
miscellaneous minor fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3596 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-30 20:51:15 +00:00
David Lawrence Ramsey
f397dae5c5
in src/Makefile.am, remove "-Iintl" from INCLUDES, as we don't use an
...
intl directory inside the source directory anymore
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3595 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-28 22:33:14 +00:00
David Lawrence Ramsey
8d2d0d9a11
in various functions in rcfile.c, add quotes around invalid string
...
arguments in error messages, for consistency; also, move
color_to_short() dowm so that it's near parse_colors(), for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3593 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-28 19:00:16 +00:00