Commit Graph

3600 Commits (73e337594e77f7a84e2fda3cfeb4fa66e2a208ab)

Author SHA1 Message Date
David Lawrence Ramsey a5b1ca2808 cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3589 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-28 17:09:49 +00:00
David Lawrence Ramsey 5c7d88dc16 in parse_verbatim_kbinput(), don't include the ability to enter a
Unicode sequence via verbatim input mode if we're not in a UTF-8 locale


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3588 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-28 16:25:15 +00:00
David Lawrence Ramsey a620e683e7 don't blank the statusbar after getting verbatim input if constant
cursor position display is on


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3587 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 18:19:03 +00:00
David Lawrence Ramsey 100bc30d63 in check_statusblank(), avoid redundant updates when statusblank is 0
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3586 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 18:06:11 +00:00
David Lawrence Ramsey 184955d0c1 in faq.html, update section 3.8 to mention the new "Unicode Input"
prompt, and how Unicode input only works when Unicode support is enabled


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3585 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 17:58:41 +00:00
David Lawrence Ramsey 6fb6689f0f various input/output fixes: allow normal typing of high-bit control
characters, as Pico does; in do_verbatim_input(), unconditionally blank
the statusbar as soon as we're finished getting input; and in
parse_verbatim_kbinput(), don't include the ability to enter a Unicode
sequence via verbatim input mode if ENABLE_UTF8 isn't defined


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3584 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 17:39:19 +00:00
David Lawrence Ramsey a7ca9008bc remove unneeded comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3583 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 17:17:06 +00:00
David Lawrence Ramsey f451d6a64a add Benno Schulenberg's translator comments, and fix typos in the last
changelog entry


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3582 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 16:02:48 +00:00
David Lawrence Ramsey 12e3708ead per Benno Schulenberg's patch with a few tweaks by me, if we're using
verbatim input to enter a Unicode sequence, indicate it on the
statusbar; also, refactor the Unicode sequence handler function to
remove redundant code


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3581 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 15:52:26 +00:00
David Lawrence Ramsey 9a5139e9d3 add missing changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3580 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 15:18:05 +00:00
David Lawrence Ramsey e2afdbb14b another typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3579 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 14:46:56 +00:00
David Lawrence Ramsey 5b1d876045 typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3578 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 18:50:44 +00:00
David Lawrence Ramsey f4cf5edd06 error message improvements
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3577 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 17:06:05 +00:00
David Lawrence Ramsey 5566e442b1 in parse_rcfile(), properly handle rcfiles that don't end in newlines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3576 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 13:49:00 +00:00
David Lawrence Ramsey db39a5e80d in parse_rcfile(), change variable i from an int to a size_t, for
consistency


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3575 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 13:38:49 +00:00
David Lawrence Ramsey 558d34f5ba handle all syntaxes without associated colors in parse_rcfile()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3574 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 13:27:28 +00:00
David Lawrence Ramsey 0b4920adc9 in parse_rcfile(), properly generate an error if we've read in a syntax
without any associated color command


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3573 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 12:56:30 +00:00
David Lawrence Ramsey 2ef7dae971 more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3572 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 11:58:37 +00:00
David Lawrence Ramsey 3c780e1d10 fix edit_redraw() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3571 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 03:46:03 +00:00
David Lawrence Ramsey 561db3a7c4 comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 03:22:44 +00:00
David Lawrence Ramsey bd6e968506 redundancy fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3569 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 03:12:35 +00:00
David Lawrence Ramsey d5228b3d82 in edit_redraw(), fix problem where not all lines would be updated
properly if we'd scrolled off the screen and the mark was on


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3568 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 03:04:24 +00:00
David Lawrence Ramsey 964722a281 add missing blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3567 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 03:02:50 +00:00
David Lawrence Ramsey 1320d29267 remove duplicate escape sequence-interpreting code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3566 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-25 22:10:27 +00:00
David Lawrence Ramsey d6eb17515d in parse_kbinput(), if we get Escape followed by an escape sequence,
interpret the escape sequence for consistency; also ignore unhandled
function keys for consistency


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3565 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-25 21:39:25 +00:00
David Lawrence Ramsey e328ae9423 in shortcut_init(), remove the "Go To Line" shortcut in the replace
shortcut list, for compatibility with Pico


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3564 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-25 04:02:50 +00:00
David Lawrence Ramsey c7251fa4fc comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3563 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 21:12:08 +00:00
David Lawrence Ramsey 0c9551a4dd per Benno Schulenberg's patch, with a few tweaks by me, add miscellaneous
minor fixes to nanorc.sample


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3562 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 21:07:10 +00:00
David Lawrence Ramsey 2a56ce79c5 per Benno Schulenberg's patch with some additions of mine, explain the
mouse support in more detail, and sync the text of its description across
all documentation


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 20:55:44 +00:00
David Lawrence Ramsey 0b65402b60 fix more breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3560 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 20:39:03 +00:00
David Lawrence Ramsey 305d889e9d more cleanly ignore unhandled meta key sequences and escape sequences;
to get this to work properly, add a shortcut for moving to the next
search/replace string


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3559 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 19:48:03 +00:00
David Lawrence Ramsey 8aa9ac3657 don't call wrap_reset() if we use verbatim input
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3558 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 18:36:38 +00:00
David Lawrence Ramsey 3af1e50855 per Benno Schulenberg's patch, fix the statusbar's not blanking properly
after verbatim input


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3557 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 18:23:21 +00:00
David Lawrence Ramsey b4428a0268 fix breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3556 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 18:10:41 +00:00
David Lawrence Ramsey 592f46bf35 capitalization fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3555 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 17:37:39 +00:00
David Lawrence Ramsey 8e341e1b22 ignore unhandled meta key sequences and escape sequences, and indicate
it on the statusbar when we get an unhandled shortcut or toggle, as Pico
does


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3554 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 17:36:00 +00:00
David Lawrence Ramsey 5538150e0a more miscellaneous documentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3553 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-23 16:23:10 +00:00
David Lawrence Ramsey 4567277310 more various wording fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3552 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-23 16:17:37 +00:00
David Lawrence Ramsey 8816564bf2 comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3551 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 18:30:09 +00:00
David Lawrence Ramsey f1e5627ebe add missing blank line to the help text when NANO_TINY is defined and
DISABLE_HELP isn't, plus a formatting fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3550 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 18:28:20 +00:00
David Lawrence Ramsey 9133cbe258 add missing #ifdef
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3549 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 15:45:24 +00:00
David Lawrence Ramsey 6fe4e2be04 avoid unnecessary scrolling when moving to the last line of the help
text


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3548 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 02:23:56 +00:00
David Lawrence Ramsey ef0d5a7637 handle prepending of wrapped text in one place instead of many, so that
it always works consistently


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3547 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 02:08:49 +00:00
David Lawrence Ramsey 6b49e9e54e cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 01:29:30 +00:00
David Lawrence Ramsey 139fa65c66 more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3545 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 01:26:24 +00:00
David Lawrence Ramsey 2829aae635 comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3544 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 01:24:09 +00:00
David Lawrence Ramsey be231d39ad per Benno Schulenberg's patch, add more shortcut description and
translator comment tweaks


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3543 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 21:37:21 +00:00
David Lawrence Ramsey b7acc735db per Benno Schulenberg's patch, in nano.texi, change all occurrences of
"file name" to "filename"


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3542 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 21:32:13 +00:00
David Lawrence Ramsey ce8623669b handle statusbar blanking in one place instead of many, so that it
always works consistently, per Benno Schulenberg's patch (with a few
tweaks of mine); also, blank the statusbar after 26 keystrokes instead
of 25, for compatibility with Pico


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3541 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 21:23:21 +00:00
David Lawrence Ramsey 41b8972dc9 various miscellaneous cutting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3540 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 20:03:43 +00:00