David Lawrence Ramsey
84635cd8e8
change the short option for --restricted from -Z to -R
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2717 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 22:53:41 +00:00
David Lawrence Ramsey
03987abebd
fix misplaced long option
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2716 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 22:50:55 +00:00
David Lawrence Ramsey
c661853315
add comment
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2715 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 22:33:15 +00:00
David Lawrence Ramsey
4f673d802c
add a description of -U/--quickblank to nano.texi, plus a few more
...
miscellaneous documentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2714 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 22:11:43 +00:00
David Lawrence Ramsey
bf51aa4c0a
QUICK_BLANK and CONST_UPDATE shouldn't be working at the same time, as
...
they make the statusbar blank and redraw itself far too many times, and
it makes no sense to use them together anyway; also, clean up
check_statusblank() a little
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2713 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 21:52:59 +00:00
David Lawrence Ramsey
954aba7430
formatting fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2712 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 21:21:10 +00:00
David Lawrence Ramsey
3435a0ff64
rename the CONSTUPDATE flag to CONST_UPDATE, and clarify its description
...
in the help text
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2711 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 21:08:13 +00:00
David Lawrence Ramsey
66357b5462
add missing #ifdef
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2710 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 19:09:18 +00:00
David Lawrence Ramsey
e29111f7ec
add -U/--quickblank option, a Meta-U toggle, and a "quickblank" rcfile
...
option to blank the statusbar after 1 keystroke instead of 25; note that
this is disabled when NANO_SMALL is defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2709 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 19:06:25 +00:00
David Lawrence Ramsey
6399000a48
move all the rcfile options disabled by NANO_SMALL to the end, for
...
consistency with the long options in nano.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2708 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 19:01:00 +00:00
David Lawrence Ramsey
ea01474c4b
since the DISABLE_CURPOS flag is only used in winio.c, reduce it to a
...
static bool there
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2707 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 18:27:00 +00:00
David Lawrence Ramsey
077d0647c9
in statusbar(), set statusblank to 25 instead of 26, to match current
...
Pico
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2706 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 18:14:03 +00:00
David Lawrence Ramsey
9b494fa90c
more miscellaneous documentation updates
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2705 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 18:00:16 +00:00
David Lawrence Ramsey
18a89a6cef
more cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2704 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-17 17:37:46 +00:00
David Lawrence Ramsey
c4ca596a90
various #ifdef fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2703 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 20:58:19 +00:00
David Lawrence Ramsey
5c8197d78f
miscellaneous cleanups in do_find_bracket(): rename variables for
...
consistency, and save the search direction and regexp setting in two
bools instead of one flags variable
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2702 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 20:41:20 +00:00
David Lawrence Ramsey
62e117421f
add "backwards" and "casesensitive" to the "rcfile" regexes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2701 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 18:56:00 +00:00
David Lawrence Ramsey
f3ecffd24d
add the "regexp" rcfile option back in at DB's suggestion, the
...
"casesensitive" and "backwards" rcfile options for consistency,
documentation updates, and related cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2700 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 18:48:30 +00:00
David Lawrence Ramsey
f774017801
document the new Meta-E toggle
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2699 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 18:35:55 +00:00
David Lawrence Ramsey
d1cc007136
in usage(), remove inaccurate default listed for -Q/--quotestr
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2698 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 17:26:01 +00:00
David Lawrence Ramsey
25fb1025e9
fix assert
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2697 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 12:43:08 +00:00
David Lawrence Ramsey
a9a3f4f599
fix compilation with --enable-debug
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2696 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 12:17:23 +00:00
David Lawrence Ramsey
e6a55fa1e5
remove stray "]"
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2695 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 12:16:24 +00:00
David Lawrence Ramsey
95f7a7431e
wording fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2694 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 03:11:39 +00:00
David Lawrence Ramsey
fa6c29cc2e
in shortcut_init(), clarify the description of ^X when
...
--enable-multibuffer is used
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2693 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 03:07:05 +00:00
David Lawrence Ramsey
b2b6976bd9
change the SMOOTHSCROLL flag to the SMOOTH_SCROLL flag
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2692 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 02:13:10 +00:00
David Lawrence Ramsey
7a4aaa53a1
change the NO_UTF8 flag to the USE_UTF8 flag, and reverse its meaning
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2691 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 02:09:57 +00:00
David Lawrence Ramsey
77d0feae05
cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2690 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 01:56:51 +00:00
David Lawrence Ramsey
c1b960947e
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2689 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 01:37:13 +00:00
David Lawrence Ramsey
4846ce7a6a
fix memory leak
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2688 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 01:36:10 +00:00
David Lawrence Ramsey
34c75746c2
add the "tabstospaces" option to the "rcfile" regexes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2687 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 01:25:11 +00:00
David Lawrence Ramsey
3129c2928b
move the "tabstospaces" option in nanorc.sample down so the options are
...
in alphabetical order again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2686 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-16 01:18:56 +00:00
David Lawrence Ramsey
21374584e2
fix changelog entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2685 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 23:36:08 +00:00
David Lawrence Ramsey
a2ea733e3b
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2684 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 23:35:53 +00:00
David Lawrence Ramsey
40ad177210
revert erroneous help_init() changes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2683 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 23:33:54 +00:00
David Lawrence Ramsey
6f143c8124
add the ability to convert (non-verbatim input) typed tabs to spaces
...
using the -E/--tabstospaces command line options, the "tabstospaces"
rcfile option, and the toggle Meta-E; also, change the short command
line option for --backupdir from -E to -C
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2682 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 23:20:56 +00:00
David Lawrence Ramsey
072f86c5f9
in do_spell(), if the spell-checker printed any error messages onscreen,
...
make sure they're cleared off
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2681 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 20:21:02 +00:00
David Lawrence Ramsey
f271f9c962
cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2680 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 19:26:48 +00:00
David Lawrence Ramsey
5a6caf0ca8
in do_int_spell_fix(), display highlighted misspelled words using
...
display_string(), as do_replace_loop() does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2679 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 19:21:04 +00:00
David Lawrence Ramsey
da72453859
add missing blank lines
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 19:15:14 +00:00
David Lawrence Ramsey
203026c632
make --enable-extra only define NANO_EXTRA, and update associated
...
documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2677 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 18:53:47 +00:00
David Lawrence Ramsey
ed7ad33802
change wint_t's back to wchar_t's to fix compilation on Mac OS 10.4.1
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2676 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 16:07:14 +00:00
Jordi Mallach
ff6c1997b9
Typo fix by Jens Seidel.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2675 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 16:05:42 +00:00
David Lawrence Ramsey
a01690c410
comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2674 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 07:38:25 +00:00
David Lawrence Ramsey
ff1a0ea32b
cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2673 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 07:34:09 +00:00
David Lawrence Ramsey
42e271d2d3
in do_browser(), make mouse clicks in the browser window work properly
...
when the MORE_SPACE flag is set
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2672 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 07:32:58 +00:00
David Lawrence Ramsey
9c06f34ef9
more miscellaneous minor fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2671 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 07:18:30 +00:00
David Lawrence Ramsey
ab41ab9246
fix #ifdefs so that nano compiles with NANO_SMALL defined and
...
DISABLE_TABCOMP undefined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2670 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 06:30:05 +00:00
David Lawrence Ramsey
2515ccc0a0
*more* cleanups to chars.c and related code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 06:04:08 +00:00
David Lawrence Ramsey
d1323e4e35
formatting and comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-06-15 03:56:36 +00:00