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
David Lawrence Ramsey
9dd268730c
preemptively update version numbers and modification dates
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3444 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-27 19:06:05 +00:00
David Lawrence Ramsey
190fae0043
document wording fixes in nanorc.5
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-27 18:54:24 +00:00
David Lawrence Ramsey
0d0d636e72
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
2006-04-27 18:52:50 +00:00
David Lawrence Ramsey
3bcca171ae
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
2006-04-27 17:29:19 +00:00
David Lawrence Ramsey
c208ef7f23
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
2006-04-26 19:03:50 +00:00
David Lawrence Ramsey
c838a4cd45
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3439 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-26 18:33:50 +00:00
David Lawrence Ramsey
fe48da7d74
cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-26 18:27:35 +00:00
David Lawrence Ramsey
58fabec261
formatting fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-26 17:39:41 +00:00
David Lawrence Ramsey
bd5966061c
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
2006-04-26 17:24:46 +00:00
David Lawrence Ramsey
95b9850517
fix inaccurate comment
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-25 13:07:31 +00:00
David Lawrence Ramsey
7504714882
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
2006-04-25 02:56:54 +00:00
David Lawrence Ramsey
714c522413
add missing #ifdef
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3431 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-25 02:40:58 +00:00
David Lawrence Ramsey
fcff1e7401
cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3430 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-25 02:35:33 +00:00
David Lawrence Ramsey
c87e0c0965
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
2006-04-25 02:23:28 +00:00
David Lawrence Ramsey
bc80cb1ba7
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
2006-04-24 23:03:21 +00:00
David Lawrence Ramsey
854a44a414
more cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3427 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-24 21:14:55 +00:00
David Lawrence Ramsey
939d4239d4
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
2006-04-24 21:00:17 +00:00
David Lawrence Ramsey
8137876426
another cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3425 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-24 20:53:43 +00:00
David Lawrence Ramsey
bf487985bc
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
2006-04-24 20:50:52 +00:00
David Lawrence Ramsey
9adc445c5c
add missing #ifdef
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3423 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-24 20:17:50 +00:00
David Lawrence Ramsey
9ea05902ec
comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3422 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-04-24 19:44:04 +00:00
David Lawrence Ramsey
18dae628d2
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
2006-04-24 18:54:29 +00:00
David Lawrence Ramsey
891e0ec281
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
2006-04-23 19:32:50 +00:00