]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Fri, 2 Sep 2005 19:09:36 +0000 (19:09 +0000)]
if we don't have regex.h and hence regex support, disable color support,
as it depends on the use of regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3011
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 2 Sep 2005 04:42:44 +0000 (04:42 +0000)]
minor documentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3010
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 2 Sep 2005 04:35:58 +0000 (04:35 +0000)]
in move_to_filestruct(), fix problem where edittop wouldn't be reset
properly if it was inside the text moved to another filestruct; also add
comment fixes and miscellaneous cleanups to it and
copy_from_filestruct()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3009
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 2 Sep 2005 03:08:09 +0000 (03:08 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3008
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 29 Aug 2005 19:11:26 +0000 (19:11 +0000)]
fix compilation with -pedantic
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3007
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 29 Aug 2005 18:52:06 +0000 (18:52 +0000)]
fix compilation with --enable-debug
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3006
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 29 Aug 2005 18:51:27 +0000 (18:51 +0000)]
fix credits length
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3005
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 29 Aug 2005 18:29:02 +0000 (18:29 +0000)]
add Mike Frysinger to credits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3004
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 28 Aug 2005 03:07:13 +0000 (03:07 +0000)]
make is_valid_unicode() catch more invalid Unicode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3003
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Aug 2005 16:26:57 +0000 (16:26 +0000)]
more email address updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3002
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Aug 2005 16:18:15 +0000 (16:18 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3001
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Aug 2005 16:16:36 +0000 (16:16 +0000)]
update email address
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3000
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 22 Aug 2005 08:47:16 +0000 (08:47 +0000)]
Credit Bulgarian and Dutch translators.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2999
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 22 Aug 2005 08:45:37 +0000 (08:45 +0000)]
Convert to UTF-8.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2998
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 22 Aug 2005 08:40:19 +0000 (08:40 +0000)]
New Bulgarian translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2997
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Aug 2005 03:03:15 +0000 (03:03 +0000)]
really fix edit_scroll() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2996
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Aug 2005 03:02:46 +0000 (03:02 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2995
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Aug 2005 01:27:05 +0000 (01:27 +0000)]
fix more edit_scroll() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2994
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 15 Aug 2005 23:17:33 +0000 (23:17 +0000)]
Updated Catalan translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2993
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 15 Aug 2005 23:12:15 +0000 (23:12 +0000)]
Updated Dutch from the TP.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2992
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 14 Aug 2005 21:17:37 +0000 (21:17 +0000)]
clean up do_credits() even more
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2991
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 14 Aug 2005 20:08:49 +0000 (20:08 +0000)]
use doupdate() instead of refresh() to reenter curses mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2990
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 14 Aug 2005 19:25:16 +0000 (19:25 +0000)]
turn the keypad on in topwin again, and clean up do_credits() a bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2989
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 13 Aug 2005 20:05:06 +0000 (20:05 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2988
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 13 Aug 2005 19:54:40 +0000 (19:54 +0000)]
for consistency, display high-bit single-byte control characters as Unicode FFFD in UTF-8 mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2987
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 11 Aug 2005 18:30:47 +0000 (18:30 +0000)]
add missing comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2986
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 23:32:08 +0000 (23:32 +0000)]
still more various documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2985
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 22:51:49 +0000 (22:51 +0000)]
various documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2984
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 22:12:28 +0000 (22:12 +0000)]
add new -W/--wordbounds command line option, and new "wordbounds" rcfile
option, to control whether the word movement functions treat punctuation
characters as part of a word
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2983
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 21:52:59 +0000 (21:52 +0000)]
in usage(), remove unneeded translation of "--quickblank"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2982
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 21:26:32 +0000 (21:26 +0000)]
clarify changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2981
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 21:22:15 +0000 (21:22 +0000)]
readd the option to turn the keypad off by default from nano 1.2.x, with
a few tweaks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2980
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 10 Aug 2005 20:03:58 +0000 (20:03 +0000)]
in update_history(), add a check to make sure the parameter we pass to
renumber() isn't NULL, and update related comments
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2979
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 8 Aug 2005 23:47:28 +0000 (23:47 +0000)]
cover the full range of Unicode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2978
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 8 Aug 2005 23:03:25 +0000 (23:03 +0000)]
store Unicode values in longs instead of ints
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2977
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Aug 2005 19:38:11 +0000 (19:38 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2976
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Aug 2005 03:14:29 +0000 (03:14 +0000)]
even better handling of invalid Unicode characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2975
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Aug 2005 21:38:41 +0000 (21:38 +0000)]
don't allow entering invalid Unicode in make_mbchar() either
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2974
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Aug 2005 20:24:26 +0000 (20:24 +0000)]
add better handling of invalid Unicode, plus a few miscellaneous minor
fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2973
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 2 Aug 2005 19:54:25 +0000 (19:54 +0000)]
more get_unicode_kbinput() fixes: properly discard hexadecimal FFFE to
FFFF instead of xxxE and xxxF, and discard hexadecimal D800 to DFFF as
well, as they're also invalid Unicode characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2972
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 21:53:54 +0000 (21:53 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2971
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 21:17:38 +0000 (21:17 +0000)]
fix misplaced code in previous edit_scroll() fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2970
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 21:05:29 +0000 (21:05 +0000)]
eliminate still more redundant screen updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2969
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 19:12:05 +0000 (19:12 +0000)]
rename get_word_kbinput() to get_unicode_kbinput(), and also rename
related variables
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2968
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 18:56:46 +0000 (18:56 +0000)]
in get_word_kbinput(), limit the input word to hexadecimal FFFD instead
of FFFF, as FFFE and FFFF are invalid Unicode characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2967
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 18:27:10 +0000 (18:27 +0000)]
miscellaneous enum cleanups, including making the file-writing
functions' append parameter an enum instead of an int
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2966
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 05:55:07 +0000 (05:55 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2965
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 05:54:11 +0000 (05:54 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2964
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 05:08:01 +0000 (05:08 +0000)]
document the "none" and "default" syntaxes in nanorc.5
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2963
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 05:01:30 +0000 (05:01 +0000)]
document the explanation of the "none" syntax in nanorc.sample
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2962
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 04:59:34 +0000 (04:59 +0000)]
port over Brand Huntsman's reserved "none" syntax to counteract his
"default" syntax when necessary (the latter *is* actually ported mostly
from his patch with a few tweaks; the "default-syntax" option is
apparently something else entirely)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2961
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 04:34:27 +0000 (04:34 +0000)]
treat color syntax names case sensitively, for consistency with how
their filename regexes are treated
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2960
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 04:23:29 +0000 (04:23 +0000)]
more color updates: add a "default" syntax that takes no extensions for
those files that don't match any other syntax's extensions (ported from
Brand Huntsman's old patch, but modified to work with a syntax named
"default" instead of requiring a "default-syntax" keyword, and to fit
into the existing color architecture)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2959
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 03:05:53 +0000 (03:05 +0000)]
the old assert is actually needed, so put it back too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2958
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 1 Aug 2005 02:18:05 +0000 (02:18 +0000)]
revert previous simplification, as it only moved complexity from one
place to another, and add formatting fixes to the old code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2957
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 31 Jul 2005 20:57:38 +0000 (20:57 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2956
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 31 Jul 2005 20:20:37 +0000 (20:20 +0000)]
simplify further
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2955
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 31 Jul 2005 20:15:01 +0000 (20:15 +0000)]
fix cursor position display breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2954
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 31 Jul 2005 18:51:51 +0000 (18:51 +0000)]
simplify do_cursorpos(), and remove an unneeded assert from it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2953
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 30 Jul 2005 21:53:05 +0000 (21:53 +0000)]
in parse_syntax(), flag duplicate syntax names as errors
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2952
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 30 Jul 2005 21:24:56 +0000 (21:24 +0000)]
port over more of Brand Huntsman's old patch: a color syntax specified
on the command line will now override the syntax associated with the
current file extension
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2951
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 29 Jul 2005 22:08:56 +0000 (22:08 +0000)]
fix extension decompilation breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2950
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 29 Jul 2005 21:59:44 +0000 (21:59 +0000)]
add missing bit from last patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2949
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 29 Jul 2005 21:42:08 +0000 (21:42 +0000)]
port over more of Brand Huntsman's old patch (with a few tweaks):
compile the file extension regexes on an as-needed basis too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2948
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 29 Jul 2005 21:41:04 +0000 (21:41 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2947
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 29 Jul 2005 03:28:09 +0000 (03:28 +0000)]
fix display breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2946
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 27 Jul 2005 03:12:22 +0000 (03:12 +0000)]
remove unnecessary can_change_colors() call
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2945
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 27 Jul 2005 03:11:41 +0000 (03:11 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2944
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 26 Jul 2005 14:42:57 +0000 (14:42 +0000)]
remove still more redundant screen updates; change all wrefresh() calls
to wnoutrefresh() calls, except for those in total_update() and
do_credits(); call doupdate() just before using blocking input, since
nano spends the most time using it, for blocking input; and only do
constant sursor position display if we're just about to use blocking
input
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2943
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 26 Jul 2005 14:26:47 +0000 (14:26 +0000)]
more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2942
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 26 Jul 2005 06:13:45 +0000 (06:13 +0000)]
handle invalid multibyte characters more efficiently
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2941
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 26 Jul 2005 05:20:02 +0000 (05:20 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2940
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 26 Jul 2005 04:18:17 +0000 (04:18 +0000)]
typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2939
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 26 Jul 2005 01:17:16 +0000 (01:17 +0000)]
and don't let a SIGWINCH throw out the changes made by the alternate
spell checker, either
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2938
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 26 Jul 2005 00:42:48 +0000 (00:42 +0000)]
remove redundant code, and add a comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2937
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 26 Jul 2005 00:06:34 +0000 (00:06 +0000)]
simplify the previous fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2936
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 23:40:12 +0000 (23:40 +0000)]
fix resizing while the alternate spell checker is running
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2935
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 22:54:16 +0000 (22:54 +0000)]
add various fill-related cleanups, plus some related cosmetic and
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2934
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 21:23:11 +0000 (21:23 +0000)]
since the total number of lines in a file is the same as the number of
its last line when all its lines are numbered properly, use that in
place of openfile->totlines, and eliminate references to
openfile->totlines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2933
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 20:36:27 +0000 (20:36 +0000)]
*really* fix mouse support breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2932
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 20:28:21 +0000 (20:28 +0000)]
really fix mouse support breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2931
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 20:08:18 +0000 (20:08 +0000)]
fix mouse support breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2930
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 20:01:57 +0000 (20:01 +0000)]
add more miscellaneous mouse support-related fixes, and move
do_statusbar_output() after do_statusbar_mouse(), to match do_output()'s
being after do_mouse() in nano.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2929
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 19:04:20 +0000 (19:04 +0000)]
in do_mouse(), avoid redundant screen updates by using edit_redraw()
instead of edit_refresh(), and remove now-erroneous code that disables
setting the mark while in view mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2928
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 18:59:24 +0000 (18:59 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2927
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 04:46:58 +0000 (04:46 +0000)]
simplify do_wordlinechar_count()'s final message a bit more
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2926
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 04:21:46 +0000 (04:21 +0000)]
rename do_word_count() do_wordlinechar_count(), and simplify its final
message a bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2925
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 03:47:08 +0000 (03:47 +0000)]
expand do_word_count() to also count the number of lines and characters
in the file or selection, as wc does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2924
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 02:41:59 +0000 (02:41 +0000)]
move mark setting, deleting, backspacing, tabbing, and entering of
newlines to text.c too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2923
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 25 Jul 2005 02:33:45 +0000 (02:33 +0000)]
reorder a few functions
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2922
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 24 Jul 2005 20:23:40 +0000 (20:23 +0000)]
make color_to_short() actually return a short
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2921
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 24 Jul 2005 19:59:54 +0000 (19:59 +0000)]
remove erroneous static declaration of fill; it's global now, since
text.c needs it too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2920
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 24 Jul 2005 19:57:51 +0000 (19:57 +0000)]
move advanced text operations (command execution in a buffer, wrapping,
spell checking, justifying, and word counting) to their own source file,
text.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2919
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 24 Jul 2005 17:06:56 +0000 (17:06 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2918
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 23 Jul 2005 22:57:46 +0000 (22:57 +0000)]
really fix inconsistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2917
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 23 Jul 2005 22:50:02 +0000 (22:50 +0000)]
fix inconsistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2916
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 23 Jul 2005 21:06:22 +0000 (21:06 +0000)]
eliminate still more redundant screen updates in edit_scroll()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2915
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 23 Jul 2005 20:39:41 +0000 (20:39 +0000)]
remove more redundant screen updates in edit_scroll(), and add a few
more miscellaneous cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2914
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 23 Jul 2005 00:41:45 +0000 (00:41 +0000)]
fix alternate spell checker breakage: don't lose colors after using it
on a file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2913
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 22 Jul 2005 23:17:19 +0000 (23:17 +0000)]
allow scrolling more than editwinrows lines via edit_scroll(), take 2
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2912
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8