Commit Graph

3255 Commits (d29e861376e5b0fc717386009a5187458371b43d)

Author SHA1 Message Date
David Lawrence Ramsey d29e861376 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
2006-05-10 13:06:58 +00:00
David Lawrence Ramsey 8992d0adaa formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3493 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-10 12:48:47 +00:00
David Lawrence Ramsey 02a7f84412 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
2006-05-10 12:37:15 +00:00
David Lawrence Ramsey 26dd1b66de simplify
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3491 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-10 04:17:21 +00:00
David Lawrence Ramsey 0df4de37c3 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
2006-05-10 03:57:16 +00:00
David Lawrence Ramsey f2fe1fd263 cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3489 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-10 03:44:49 +00:00
David Lawrence Ramsey 3cba266d4d comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3488 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-10 03:40:17 +00:00
Jordi Mallach cf8082f87f Updated Dutch translation by Benno Schulenberg.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3487 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-09 23:25:25 +00:00
David Lawrence Ramsey 560e83f143 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
2006-05-08 19:55:18 +00:00
David Lawrence Ramsey b02a1950e7 cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3485 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-08 16:25:12 +00:00
David Lawrence Ramsey a5f833de42 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
2006-05-08 15:57:04 +00:00
David Lawrence Ramsey c7b9e15e9a formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3483 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-08 15:19:42 +00:00
David Lawrence Ramsey 27d5be5e36 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
2006-05-08 14:12:36 +00:00
David Lawrence Ramsey f22fa1341e typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-08 13:18:01 +00:00
David Lawrence Ramsey 602199da12 comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3480 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-06 15:31:32 +00:00
David Lawrence Ramsey 0ec909cb98 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
2006-05-06 15:07:26 +00:00
David Lawrence Ramsey 5bb7727740 another formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3478 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-06 14:37:33 +00:00
David Lawrence Ramsey b22c80ad1d remove various redundant key checks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3477 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-06 13:41:59 +00:00
David Lawrence Ramsey 90b60edc3f fix do_help() meta key breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-06 02:51:33 +00:00
David Lawrence Ramsey f629aad27b cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3475 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-06 02:42:42 +00:00
David Lawrence Ramsey 6e7d24dcdc 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
2006-05-06 02:26:18 +00:00
David Lawrence Ramsey 3f77c77f11 wording fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3473 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-06 02:25:32 +00:00
David Lawrence Ramsey 0a208b3b62 formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3472 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-06 02:22:02 +00:00
David Lawrence Ramsey 2545686481 comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3471 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-05 15:43:52 +00:00
David Lawrence Ramsey 80669c34bb 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
2006-05-05 15:41:43 +00:00
David Lawrence Ramsey 9e73d98a60 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
2006-05-05 15:20:36 +00:00
David Lawrence Ramsey eb4f90e182 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
2006-05-05 14:22:42 +00:00
David Lawrence Ramsey aa4dc9596f typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3467 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-04 03:18:58 +00:00
David Lawrence Ramsey f0e3ca6e88 clarify error messages
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3466 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-03 13:11:00 +00:00
David Lawrence Ramsey ac37b04737 typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3465 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-03 12:59:05 +00:00
David Lawrence Ramsey c7d6f985c7 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
2006-05-02 00:08:13 +00:00
David Lawrence Ramsey af9052d7c7 cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3463 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-01 17:14:25 +00:00
David Lawrence Ramsey 2ca3fc9fa6 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
2006-05-01 16:48:12 +00:00
David Lawrence Ramsey 7a9422b77d more various wording fixes for documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3461 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-01 13:43:02 +00:00
David Lawrence Ramsey e7f9813284 various wording fixes for documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3460 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-01 13:22:47 +00:00
David Lawrence Ramsey 12c1b5913a consistency fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3459 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-30 23:30:47 +00:00
David Lawrence Ramsey fd3cceee44 fix yet more do_indent_marked() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3458 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-30 01:29:51 +00:00
David Lawrence Ramsey 7194a617c4 fix still more do_indent_marked() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3457 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-29 16:11:21 +00:00
David Lawrence Ramsey 2e8fac6487 fix more do_indent_marked() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3456 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-29 15:44:58 +00:00
David Lawrence Ramsey 5c819b53e1 really fix do_indent_marked() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3455 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-29 15:12:07 +00:00
David Lawrence Ramsey d9eca4b8bf fix do_indent_marked() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3454 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-29 15:07:37 +00:00
David Lawrence Ramsey bf7842090b another wording fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-29 13:59:04 +00:00
David Lawrence Ramsey 5f274c4b49 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
2006-04-28 19:27:41 +00:00
David Lawrence Ramsey fbf46a5d88 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
2006-04-28 18:59:34 +00:00
David Lawrence Ramsey 4d9ef69f8e various fixes for get_control_kbinput()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3450 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-28 18:26:07 +00:00
David Lawrence Ramsey 4527da5e9b 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
2006-04-28 13:37:42 +00:00
David Lawrence Ramsey 8bf39a38fe 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
2006-04-28 13:27:20 +00:00
David Lawrence Ramsey 6d1112314b typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3447 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-28 13:23:17 +00:00
David Lawrence Ramsey f85001a368 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
2006-04-28 13:19:56 +00:00
David Lawrence Ramsey cf1879b706 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
2006-04-27 23:39:49 +00:00