Commit Graph

3326 Commits

Author SHA1 Message Date
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
David Lawrence Ramsey 83635c2155 in do_input(), don't blow away the cutbuffer when the shortcut we get is
do_cut_till_end()


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3539 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 17:58:08 +00:00
David Lawrence Ramsey 124978a5bc in nanorc.sample, further simplify the "groff" regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3538 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 17:51:54 +00:00
David Lawrence Ramsey 44abeea53c in nanorc.sample, remove unneeded foreground color for the Java source
regex used to highlight trailing whitespace, since we now support
background colors without foreground colors


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3537 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 17:27:04 +00:00
David Lawrence Ramsey 252ecebaf7 wording fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3536 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 17:15:41 +00:00
David Lawrence Ramsey 376eea3d25 properly highlight the "include" command
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3535 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 17:15:06 +00:00
David Lawrence Ramsey f320d31ef0 in nanorc.sample, replace instances of "\w" with its equivalent
"[0-9A-Za-z_]", and instances of "\W" with its equivalent
"[^0-9A-Za-z_]", for greater readability


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3534 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 16:50:16 +00:00
David Lawrence Ramsey c0899cb8eb remove unneeded blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3533 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-20 17:29:14 +00:00
David Lawrence Ramsey 51cb7fd293 in get_control_kbinput(), fix Ctrl-? breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3532 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-20 17:19:09 +00:00
David Lawrence Ramsey 39bd1b3597 cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3531 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-20 13:11:56 +00:00
David Lawrence Ramsey cd243f558a in break_line(), handle newlines consistently when searching for the
last blank in the first group of blanks in the range of (goal - 1)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3530 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-19 23:27:16 +00:00
David Lawrence Ramsey af7677ecb6 in help_init(), add various wording fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3529 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-19 23:07:02 +00:00
David Lawrence Ramsey d99b0e1cf3 in display_string(), properly display double-column characters if
they're past the first virtual page and their first column is covered by
the "$" displayed at the beginning of the line


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3528 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-19 17:50:01 +00:00
David Lawrence Ramsey b9446ac429 really fix handling of NANO_CONTROL_8
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3527 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-19 14:26:16 +00:00
David Lawrence Ramsey c9d76207f3 in src/Makefile.am, if we're uninstalling, remove the "rnano" symlink
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3526 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-18 20:18:36 +00:00
David Lawrence Ramsey 75e9dfe5a4 comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3525 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-18 17:50:08 +00:00
David Lawrence Ramsey c074edfe36 wording fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3524 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-18 17:29:34 +00:00
David Lawrence Ramsey 2d3d1e9324 in break_line(), fix problem where tab widths in columns are always
calculated as tabsize


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3523 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-18 17:28:16 +00:00
David Lawrence Ramsey 139bae0826 update TODO and UPGRADE for nano 2.0, since we're now in a feature
freeze


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3522 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-17 13:38:07 +00:00
Jordi Mallach b6aaa8f365 Added Irish translation from the TP.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3521 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-17 06:54:47 +00:00
David Lawrence Ramsey 60edb0a989 improve NANO_REFRESH_KEY handling
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3520 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-15 15:17:50 +00:00
David Lawrence Ramsey 10f8e880ba cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3519 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-15 14:47:16 +00:00
David Lawrence Ramsey e2c9c58104 typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3518 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-15 14:34:11 +00:00
David Lawrence Ramsey 8803dd8768 remove unneeded blank lines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3517 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-15 14:16:55 +00:00
David Lawrence Ramsey c1c818ebd5 comment and formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3516 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-14 18:22:01 +00:00