]> git.wh0rd.org Git - nano.git/log
nano.git
18 years agocosmetic fix
David Lawrence Ramsey [Thu, 11 May 2006 12:42:08 +0000 (12:42 +0000)]
cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3502 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocosmetic fix
David Lawrence Ramsey [Thu, 11 May 2006 11:13:54 +0000 (11:13 +0000)]
cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3501 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin free_chararray(), assert that array isn't NULL, for consistency with
David Lawrence Ramsey [Thu, 11 May 2006 01:53:33 +0000 (01:53 +0000)]
in free_chararray(), assert that array isn't NULL, for consistency with
the other free_.*() functions; also fix potential memory corruption
problem when copying text

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3500 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix bracket matching breakage in do_statusbar_input() since its shortcut
David Lawrence Ramsey [Thu, 11 May 2006 00:58:26 +0000 (00:58 +0000)]
fix bracket matching breakage in do_statusbar_input() since its shortcut
was changed to Ctrl-]

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3499 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agostill more comment fixes
David Lawrence Ramsey [Wed, 10 May 2006 16:09:36 +0000 (16:09 +0000)]
still more comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3498 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agomore comment fixes
David Lawrence Ramsey [Wed, 10 May 2006 16:03:59 +0000 (16:03 +0000)]
more comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3497 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoavoid unnecessary state saving for when we resize
David Lawrence Ramsey [Wed, 10 May 2006 15:15:06 +0000 (15:15 +0000)]
avoid unnecessary state saving for when we resize

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3496 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoallow unjustifying if we resize the window immediately after justifying,
David Lawrence Ramsey [Wed, 10 May 2006 13:41:53 +0000 (13:41 +0000)]
allow unjustifying if we resize the window immediately after justifying,
as Pico does, and make input handling across resizes more consistent

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3495 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin do_(statusbar_)?input(), remove redundant check for allow_funcs'
David Lawrence Ramsey [Wed, 10 May 2006 13:06:58 +0000 (13:06 +0000)]
in do_(statusbar_)?input(), remove redundant check for allow_funcs'
being TRUE when we get KEY_MOUSE

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3494 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoformatting fixes
David Lawrence Ramsey [Wed, 10 May 2006 12:48:47 +0000 (12:48 +0000)]
formatting fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3493 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin browser_refresh(), make sure the highlighting of the currently
David Lawrence Ramsey [Wed, 10 May 2006 12:37:15 +0000 (12:37 +0000)]
in browser_refresh(), make sure the highlighting of the currently
selected file or directory respects the -D/--boldtext option

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3492 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agosimplify
David Lawrence Ramsey [Wed, 10 May 2006 04:17:21 +0000 (04:17 +0000)]
simplify

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3491 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin browser_refresh(), change variable i from an int to a size_t in order
David Lawrence Ramsey [Wed, 10 May 2006 03:57:16 +0000 (03:57 +0000)]
in browser_refresh(), change variable i from an int to a size_t in order
to match selected, which it's compared against

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3490 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocosmetic fixes
David Lawrence Ramsey [Wed, 10 May 2006 03:44:49 +0000 (03:44 +0000)]
cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3489 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocomment fixes
David Lawrence Ramsey [Wed, 10 May 2006 03:40:17 +0000 (03:40 +0000)]
comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3488 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoUpdated Dutch translation by Benno Schulenberg.
Jordi Mallach [Tue, 9 May 2006 23:25:25 +0000 (23:25 +0000)]
Updated Dutch translation by Benno Schulenberg.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3487 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin usage(), fix inaccuracies in the usage example
David Lawrence Ramsey [Mon, 8 May 2006 19:55:18 +0000 (19:55 +0000)]
in usage(), fix inaccuracies in the usage example

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3486 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocosmetic fix
David Lawrence Ramsey [Mon, 8 May 2006 16:25:12 +0000 (16:25 +0000)]
cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3485 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin edit_draw(), properly ignore zero-length regexes in multi-line
David Lawrence Ramsey [Mon, 8 May 2006 15:57:04 +0000 (15:57 +0000)]
in edit_draw(), properly ignore zero-length regexes in multi-line
regexes as well as single-line ones; this avoids a segfault when trying
to color e.g. "start="$" end="$""

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3484 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoformatting fix
David Lawrence Ramsey [Mon, 8 May 2006 15:19:42 +0000 (15:19 +0000)]
formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3483 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoper Benno Schulenberg's patch (with a few tweaks by me), add a new
David Lawrence Ramsey [Mon, 8 May 2006 14:12:36 +0000 (14:12 +0000)]
per Benno Schulenberg's patch (with a few tweaks by me), add a new
section 4.5, and move all section 4 entries after it down one number, to
explain a problem that can occur when holding down keys to generate Meta
sequences; also add a few more capitalization and wording fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3482 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agotypo fix
David Lawrence Ramsey [Mon, 8 May 2006 13:18:01 +0000 (13:18 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocomment fixes
David Lawrence Ramsey [Sat, 6 May 2006 15:31:32 +0000 (15:31 +0000)]
comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3480 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd the ability to move to the first and last file in the file browser
David Lawrence Ramsey [Sat, 6 May 2006 15:07:26 +0000 (15:07 +0000)]
add the ability to move to the first and last file in the file browser
via Meta-\ (Meta-|) and Meta-/ (Meta-?)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3479 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoanother formatting fix
David Lawrence Ramsey [Sat, 6 May 2006 14:37:33 +0000 (14:37 +0000)]
another formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3478 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoremove various redundant key checks
David Lawrence Ramsey [Sat, 6 May 2006 13:41:59 +0000 (13:41 +0000)]
remove various redundant key checks

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3477 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix do_help() meta key breakage
David Lawrence Ramsey [Sat, 6 May 2006 02:51:33 +0000 (02:51 +0000)]
fix do_help() meta key breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocosmetic fix
David Lawrence Ramsey [Sat, 6 May 2006 02:42:42 +0000 (02:42 +0000)]
cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3475 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd the ability to move to the first and last line of the help text via
David Lawrence Ramsey [Sat, 6 May 2006 02:26:18 +0000 (02:26 +0000)]
add the ability to move to the first and last line of the help text via
Meta-\ (Meta-|) and Meta-/ (Meta-?)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3474 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agowording fix
David Lawrence Ramsey [Sat, 6 May 2006 02:25:32 +0000 (02:25 +0000)]
wording fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3473 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoformatting fix
David Lawrence Ramsey [Sat, 6 May 2006 02:22:02 +0000 (02:22 +0000)]
formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3472 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocomment fix
David Lawrence Ramsey [Fri, 5 May 2006 15:43:52 +0000 (15:43 +0000)]
comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3471 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin do_indent_marked(), only use line_indent and line_indent_len when
David Lawrence Ramsey [Fri, 5 May 2006 15:41:43 +0000 (15:41 +0000)]
in do_indent_marked(), only use line_indent and line_indent_len when
necessary

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3470 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agobetter handle position shifting when indenting marked text
David Lawrence Ramsey [Fri, 5 May 2006 15:20:36 +0000 (15:20 +0000)]
better handle position shifting when indenting marked text

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3469 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agobetter handle position shifting when unindenting marked text
David Lawrence Ramsey [Fri, 5 May 2006 14:22:42 +0000 (14:22 +0000)]
better handle position shifting when unindenting marked text

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3468 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agotypo fix
David Lawrence Ramsey [Thu, 4 May 2006 03:18:58 +0000 (03:18 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3467 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoclarify error messages
David Lawrence Ramsey [Wed, 3 May 2006 13:11:00 +0000 (13:11 +0000)]
clarify error messages

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3466 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agotypo fix
David Lawrence Ramsey [Wed, 3 May 2006 12:59:05 +0000 (12:59 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3465 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin faq.html, add a new section 4.4, and move all section 4 entries after
David Lawrence Ramsey [Tue, 2 May 2006 00:08:13 +0000 (00:08 +0000)]
in faq.html, add a new section 4.4, and move all section 4 entries after
it down one number, to explain how to deal with problems typing Meta-[;
also add a few capitalization and wording fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3464 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocosmetic fixes
David Lawrence Ramsey [Mon, 1 May 2006 17:14:25 +0000 (17:14 +0000)]
cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3463 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoconsistency fix for do_indent_marked(): remove indentation from just
David Lawrence Ramsey [Mon, 1 May 2006 16:48:12 +0000 (16:48 +0000)]
consistency fix for do_indent_marked(): remove indentation from just
before the non-whitespace text on lines instead of the beginnings of
lines

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3462 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agomore various wording fixes for documentation
David Lawrence Ramsey [Mon, 1 May 2006 13:43:02 +0000 (13:43 +0000)]
more various wording fixes for documentation

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3461 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agovarious wording fixes for documentation
David Lawrence Ramsey [Mon, 1 May 2006 13:22:47 +0000 (13:22 +0000)]
various wording fixes for documentation

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3460 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoconsistency fixes
David Lawrence Ramsey [Sun, 30 Apr 2006 23:30:47 +0000 (23:30 +0000)]
consistency fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3459 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix yet more do_indent_marked() breakage
David Lawrence Ramsey [Sun, 30 Apr 2006 01:29:51 +0000 (01:29 +0000)]
fix yet more do_indent_marked() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3458 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix still more do_indent_marked() breakage
David Lawrence Ramsey [Sat, 29 Apr 2006 16:11:21 +0000 (16:11 +0000)]
fix still more do_indent_marked() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3457 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix more do_indent_marked() breakage
David Lawrence Ramsey [Sat, 29 Apr 2006 15:44:58 +0000 (15:44 +0000)]
fix more do_indent_marked() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3456 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoreally fix do_indent_marked() breakage
David Lawrence Ramsey [Sat, 29 Apr 2006 15:12:07 +0000 (15:12 +0000)]
really fix do_indent_marked() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3455 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix do_indent_marked() breakage
David Lawrence Ramsey [Sat, 29 Apr 2006 15:07:37 +0000 (15:07 +0000)]
fix do_indent_marked() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3454 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoanother wording fix
David Lawrence Ramsey [Sat, 29 Apr 2006 13:59:04 +0000 (13:59 +0000)]
another wording fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agohandle NANO_CONTROL_8 even better by doing it in parse_kbinput()
David Lawrence Ramsey [Fri, 28 Apr 2006 19:27:41 +0000 (19:27 +0000)]
handle NANO_CONTROL_8 even better by doing it in parse_kbinput()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3452 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin do_(statusbar_)?input(), if we get NANO_CONTROL_8, handle it instead
David Lawrence Ramsey [Fri, 28 Apr 2006 18:59:34 +0000 (18:59 +0000)]
in do_(statusbar_)?input(), if we get NANO_CONTROL_8, handle it instead
of ignoring it, for consistency

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3451 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agovarious fixes for get_control_kbinput()
David Lawrence Ramsey [Fri, 28 Apr 2006 18:26:07 +0000 (18:26 +0000)]
various fixes for get_control_kbinput()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3450 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agowhen indenting lines, properly keep track of the mark coordinates
David Lawrence Ramsey [Fri, 28 Apr 2006 13:37:42 +0000 (13:37 +0000)]
when indenting lines, properly keep track of the mark coordinates

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3449 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin configure.ac, remove the other old warning about color support
David Lawrence Ramsey [Fri, 28 Apr 2006 13:27:20 +0000 (13:27 +0000)]
in configure.ac, remove the other old warning about color support

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3448 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agotypo fix
David Lawrence Ramsey [Fri, 28 Apr 2006 13:23:17 +0000 (13:23 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3447 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd the ability to indent and unindent all marked lines of text, via
David Lawrence Ramsey [Fri, 28 Apr 2006 13:19:56 +0000 (13:19 +0000)]
add the ability to indent and unindent all marked lines of text, via
Meta-[ (Meta-}) and Meta-] (Meta-}), per Chris' patch with some changes
by me

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3446 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agotweak the shortcut list a bit more, and add Space and - as aliases for
David Lawrence Ramsey [Thu, 27 Apr 2006 23:39:49 +0000 (23:39 +0000)]
tweak the shortcut list a bit more, and add Space and - as aliases for
PageDown and PageUp in the help browser, per Benno Schulenberg's
suggestions

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3445 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agopreemptively update version numbers and modification dates
David Lawrence Ramsey [Thu, 27 Apr 2006 19:06:05 +0000 (19:06 +0000)]
preemptively update version numbers and modification dates

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3444 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agodocument wording fixes in nanorc.5
David Lawrence Ramsey [Thu, 27 Apr 2006 18:54:24 +0000 (18:54 +0000)]
document wording fixes in nanorc.5

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin nano.texi, add a "Nanorc Files" section to explain the nanorc file
David Lawrence Ramsey [Thu, 27 Apr 2006 18:52:50 +0000 (18:52 +0000)]
in nano.texi, add a "Nanorc Files" section to explain the nanorc file
format in detail, using text from nanorc.5

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3442 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin nanorc.5 and nanorc.sample, mention that the nanorc file should not
David Lawrence Ramsey [Thu, 27 Apr 2006 17:29:19 +0000 (17:29 +0000)]
in nanorc.5 and nanorc.sample, mention that the nanorc file should not
be in DOS or Mac format

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix breakage when NO_NEWLINES is FALSE and we copy text that would
David Lawrence Ramsey [Wed, 26 Apr 2006 19:03:50 +0000 (19:03 +0000)]
fix breakage when NO_NEWLINES is FALSE and we copy text that would
require adding a new magicline then

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3440 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocomment fix
David Lawrence Ramsey [Wed, 26 Apr 2006 18:33:50 +0000 (18:33 +0000)]
comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocosmetic fixes
David Lawrence Ramsey [Wed, 26 Apr 2006 18:27:35 +0000 (18:27 +0000)]
cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoformatting fixes
David Lawrence Ramsey [Wed, 26 Apr 2006 17:39:41 +0000 (17:39 +0000)]
formatting fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin shortcut_init(), add Meta-} as an alias for Meta-]
David Lawrence Ramsey [Wed, 26 Apr 2006 17:24:46 +0000 (17:24 +0000)]
in shortcut_init(), add Meta-} as an alias for Meta-]

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3436 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix inaccurate comment
David Lawrence Ramsey [Tue, 25 Apr 2006 13:07:31 +0000 (13:07 +0000)]
fix inaccurate comment

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix segfault if we try to copy an empty selection
David Lawrence Ramsey [Tue, 25 Apr 2006 02:56:54 +0000 (02:56 +0000)]
fix segfault if we try to copy an empty selection

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3432 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd missing #ifdef
David Lawrence Ramsey [Tue, 25 Apr 2006 02:40:58 +0000 (02:40 +0000)]
add missing #ifdef

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3431 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocosmetic fixes
David Lawrence Ramsey [Tue, 25 Apr 2006 02:35:33 +0000 (02:35 +0000)]
cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3430 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd the ability to copy text into the cutbuffer without cutting it, via
David Lawrence Ramsey [Tue, 25 Apr 2006 02:23:28 +0000 (02:23 +0000)]
add the ability to copy text into the cutbuffer without cutting it, via
Meta-^ (Meta-6); note that this is disabled when NANO_TINY is defined

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3429 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoreadd the Cancel -> Exit aliases for the file browser and help browser,
David Lawrence Ramsey [Mon, 24 Apr 2006 23:03:21 +0000 (23:03 +0000)]
readd the Cancel -> Exit aliases for the file browser and help browser,
per Benno Schulenberg's suggestion, and clean up a few other
miscellaneous things

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agomore cosmetic fixes
David Lawrence Ramsey [Mon, 24 Apr 2006 21:14:55 +0000 (21:14 +0000)]
more cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3427 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin shortcut_init(), tweak the descriptions of two more shortcut keys to
David Lawrence Ramsey [Mon, 24 Apr 2006 21:00:17 +0000 (21:00 +0000)]
in shortcut_init(), tweak the descriptions of two more shortcut keys to
make them more uniform, per one of Benno Schulenberg's suggestions and
one of mine

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3426 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoanother cosmetic fix
David Lawrence Ramsey [Mon, 24 Apr 2006 20:53:43 +0000 (20:53 +0000)]
another cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3425 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agobetter handle the insertion of blank lines after shortcuts when certain
David Lawrence Ramsey [Mon, 24 Apr 2006 20:50:52 +0000 (20:50 +0000)]
better handle the insertion of blank lines after shortcuts when certain
features are disabled

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3424 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd missing #ifdef
David Lawrence Ramsey [Mon, 24 Apr 2006 20:17:50 +0000 (20:17 +0000)]
add missing #ifdef

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3423 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocomment fixes
David Lawrence Ramsey [Mon, 24 Apr 2006 19:44:04 +0000 (19:44 +0000)]
comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3422 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoreduce NO_RCFILE to a static bool in nano.c, since it's only used there
David Lawrence Ramsey [Mon, 24 Apr 2006 18:54:29 +0000 (18:54 +0000)]
reduce NO_RCFILE to a static bool in nano.c, since it's only used there

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3421 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin get_prompt_string(), include the handling of the help key even when
David Lawrence Ramsey [Sun, 23 Apr 2006 19:32:50 +0000 (19:32 +0000)]
in get_prompt_string(), include the handling of the help key even when
help is disabled, so that we aren't erroneously kicked out of the
statusbar prompt under any circumstances

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3420 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin shortcut_init(), tweak the descriptions of some shortcut keys to make
David Lawrence Ramsey [Sun, 23 Apr 2006 19:21:12 +0000 (19:21 +0000)]
in shortcut_init(), tweak the descriptions of some shortcut keys to make
them more uniform, per Benno Schulenberg's patch with minor tweaks by me

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3419 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadjust the main shortcut list a bit more, per Benno Schulenberg's patch,
David Lawrence Ramsey [Sun, 23 Apr 2006 19:15:15 +0000 (19:15 +0000)]
adjust the main shortcut list a bit more, per Benno Schulenberg's patch,
and better handle the insertion of blank lines after toggles when
certain features are disabled

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3418 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agotypo fix
David Lawrence Ramsey [Sun, 23 Apr 2006 14:53:26 +0000 (14:53 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agomore typo fixes
David Lawrence Ramsey [Sun, 23 Apr 2006 01:33:37 +0000 (01:33 +0000)]
more typo fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3416 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agotypo fix
David Lawrence Ramsey [Sun, 23 Apr 2006 01:14:49 +0000 (01:14 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3415 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin help_init(), if we have at least two entries' worth of blank space,
David Lawrence Ramsey [Sun, 23 Apr 2006 01:10:55 +0000 (01:10 +0000)]
in help_init(), if we have at least two entries' worth of blank space,
use it to display more of "^Space" and "M-Space"

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3414 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoreally fix #ifdef
David Lawrence Ramsey [Sat, 22 Apr 2006 20:03:05 +0000 (20:03 +0000)]
really fix #ifdef

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix #ifdef
David Lawrence Ramsey [Sat, 22 Apr 2006 20:00:23 +0000 (20:00 +0000)]
fix #ifdef

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3412 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix more breakage
David Lawrence Ramsey [Sat, 22 Apr 2006 19:52:27 +0000 (19:52 +0000)]
fix more breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3411 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoreorganize the main shortcut list to make it easier for new users, per
David Lawrence Ramsey [Sat, 22 Apr 2006 19:45:26 +0000 (19:45 +0000)]
reorganize the main shortcut list to make it easier for new users, per
Benno Schulenberg's suggestion

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3410 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd missing #ifdefs
David Lawrence Ramsey [Sat, 22 Apr 2006 18:20:14 +0000 (18:20 +0000)]
add missing #ifdefs

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agofix breakage and typos
David Lawrence Ramsey [Fri, 21 Apr 2006 02:30:53 +0000 (02:30 +0000)]
fix breakage and typos

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3408 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd missing alternate meta key sequences
David Lawrence Ramsey [Fri, 21 Apr 2006 02:24:34 +0000 (02:24 +0000)]
add missing alternate meta key sequences

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3407 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoadd shortcuts to go to the first or last line of the file from the main
David Lawrence Ramsey [Fri, 21 Apr 2006 02:05:09 +0000 (02:05 +0000)]
add shortcuts to go to the first or last line of the file from the main
list, make all the equivalent shortcuts elsewhere consistent, and
simplify input parsing in do_help()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3406 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocleanups: fix M-M/M-N toggle inversion, and reorder toggle #defines in
David Lawrence Ramsey [Thu, 20 Apr 2006 22:36:10 +0000 (22:36 +0000)]
cleanups: fix M-M/M-N toggle inversion, and reorder toggle #defines in
nano.h to match the new order in toggle_init()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3405 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoreorganize the global toggle list to make it easier for new users, per
David Lawrence Ramsey [Thu, 20 Apr 2006 22:29:02 +0000 (22:29 +0000)]
reorganize the global toggle list to make it easier for new users, per
Benno Schulenberg's suggestion

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3404 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agocomment fixes
David Lawrence Ramsey [Thu, 20 Apr 2006 16:09:32 +0000 (16:09 +0000)]
comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3403 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoin nano.texi, add minor updates to put some text back in sync with
David Lawrence Ramsey [Thu, 20 Apr 2006 15:45:24 +0000 (15:45 +0000)]
in nano.texi, add minor updates to put some text back in sync with
nano's current feature set

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3402 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

18 years agoupdate modification date again
David Lawrence Ramsey [Thu, 20 Apr 2006 14:43:09 +0000 (14:43 +0000)]
update modification date again

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3401 35c25a1d-7b9e-4130-9fde-d3aeb78583b8