]> git.wh0rd.org Git - nano.git/log
nano.git
19 years agosimplify do_wordlinechar_count()'s final message a bit more
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

19 years agorename do_word_count() do_wordlinechar_count(), and simplify its final
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

19 years agoexpand do_word_count() to also count the number of lines and characters
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

19 years agomove mark setting, deleting, backspacing, tabbing, and entering of
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

19 years agoreorder a few functions
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

19 years agomake color_to_short() actually return a short
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

19 years agoremove erroneous static declaration of fill; it's global now, since
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

19 years agomove advanced text operations (command execution in a buffer, wrapping,
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

19 years agocosmetic fix
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

19 years agoreally fix inconsistency
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

19 years agofix inconsistency
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

19 years agoeliminate still more redundant screen updates in edit_scroll()
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

19 years agoremove more redundant screen updates in edit_scroll(), and add a few
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

19 years agofix alternate spell checker breakage: don't lose colors after using it
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

19 years agoallow scrolling more than editwinrows lines via edit_scroll(), take 2
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

19 years agorevert broken edit_scroll() changes for now
David Lawrence Ramsey [Fri, 22 Jul 2005 22:56:03 +0000 (22:56 +0000)]
revert broken edit_scroll() changes for now

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2911 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoallow scrolling more than editwinrows lines via edit_scroll()
David Lawrence Ramsey [Fri, 22 Jul 2005 22:19:36 +0000 (22:19 +0000)]
allow scrolling more than editwinrows lines via edit_scroll()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2910 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agodisplay invalid multibyte sequences as Unicode FFFD, take 2; also clean
David Lawrence Ramsey [Thu, 21 Jul 2005 22:12:03 +0000 (22:12 +0000)]
display invalid multibyte sequences as Unicode FFFD, take 2; also clean
up the character-parsing functions

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2909 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomore function reordering
David Lawrence Ramsey [Thu, 21 Jul 2005 18:05:27 +0000 (18:05 +0000)]
more function reordering

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2908 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agocosmetic fixes
David Lawrence Ramsey [Thu, 21 Jul 2005 17:52:36 +0000 (17:52 +0000)]
cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2907 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd comment and formatting fixes, and remove now-useless global-specific code
David Lawrence Ramsey [Thu, 21 Jul 2005 05:56:42 +0000 (05:56 +0000)]
add comment and formatting fixes, and remove now-useless global-specific code

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2906 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoin do_find_bracket(), add comments and minor cleanups
David Lawrence Ramsey [Thu, 21 Jul 2005 02:20:01 +0000 (02:20 +0000)]
in do_find_bracket(), add comments and minor cleanups

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2905 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomove do_(next|prev)_word(_void())? to move.c too
David Lawrence Ramsey [Wed, 20 Jul 2005 21:31:19 +0000 (21:31 +0000)]
move do_(next|prev)_word(_void())? to move.c too

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2904 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd miscellaneous color and openfilestruct cleanups, and move the
David Lawrence Ramsey [Wed, 20 Jul 2005 21:08:38 +0000 (21:08 +0000)]
add miscellaneous color and openfilestruct cleanups, and move the
openfilestruct functions to nano.c, since they're no longer specific to
file operations

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2903 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomove the paragraph-searching functions to move.c, as they're movement
David Lawrence Ramsey [Wed, 20 Jul 2005 19:24:11 +0000 (19:24 +0000)]
move the paragraph-searching functions to move.c, as they're movement
functions, and make them call check_statusblank() too; also reorder some
other movement functions

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2902 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agocomment fix
David Lawrence Ramsey [Tue, 19 Jul 2005 18:46:02 +0000 (18:46 +0000)]
comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2901 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoDoh, fixup ChangeLog.
Jordi Mallach [Tue, 19 Jul 2005 17:10:05 +0000 (17:10 +0000)]
Doh, fixup ChangeLog.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2900 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoUpdated Malay translation from the TP.
Jordi Mallach [Tue, 19 Jul 2005 15:09:09 +0000 (15:09 +0000)]
Updated Malay translation from the TP.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2899 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoUpdate French manpages by Jean-Philippe Guérard.
Jordi Mallach [Tue, 19 Jul 2005 15:07:35 +0000 (15:07 +0000)]
Update French manpages by Jean-Philippe Guérard.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2898 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoin nanogetstr(), make sure that magichistory is properly updated when we
David Lawrence Ramsey [Tue, 19 Jul 2005 05:58:00 +0000 (05:58 +0000)]
in nanogetstr(), make sure that magichistory is properly updated when we
change it and then move up

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2897 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoin find_history() and get_history_completion(), make parameters const
David Lawrence Ramsey [Tue, 19 Jul 2005 04:53:45 +0000 (04:53 +0000)]
in find_history() and get_history_completion(), make parameters const
where possible

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2896 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd missing blank lines
David Lawrence Ramsey [Tue, 19 Jul 2005 04:50:55 +0000 (04:50 +0000)]
add missing blank lines

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2895 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoin mbstrchr(), don't count matches between valid and invalid multibyte
David Lawrence Ramsey [Mon, 18 Jul 2005 19:47:13 +0000 (19:47 +0000)]
in mbstrchr(), don't count matches between valid and invalid multibyte
sequences anymore, for consistency

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2894 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofor consistency, revert handling of cases where a search string and a
David Lawrence Ramsey [Mon, 18 Jul 2005 19:29:27 +0000 (19:29 +0000)]
for consistency, revert handling of cases where a search string and a
match to it are not the same length in bytes, since the same technique
can't be made to work with tab completion matches

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2893 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomiscellaneous minor fixes
David Lawrence Ramsey [Mon, 18 Jul 2005 18:43:39 +0000 (18:43 +0000)]
miscellaneous minor fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2892 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoUpdated French translation from the TP.
Jordi Mallach [Mon, 18 Jul 2005 14:37:11 +0000 (14:37 +0000)]
Updated French translation from the TP.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2891 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomake sure that the current position in the history list is properly set
David Lawrence Ramsey [Mon, 18 Jul 2005 07:48:50 +0000 (07:48 +0000)]
make sure that the current position in the history list is properly set
to the bottom if we cancel out of the prompt

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2890 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agocomment fix
David Lawrence Ramsey [Mon, 18 Jul 2005 05:23:04 +0000 (05:23 +0000)]
comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2889 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoproperly handle cases where a search string and a match to it are not
David Lawrence Ramsey [Mon, 18 Jul 2005 05:17:59 +0000 (05:17 +0000)]
properly handle cases where a search string and a match to it are not
the same length in bytes, i.e, when the latter contains invalid
multibyte characters interpreted as normal characters

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2888 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd comment
David Lawrence Ramsey [Mon, 18 Jul 2005 05:16:04 +0000 (05:16 +0000)]
add comment

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2887 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agodon't display invalid multibyte sequences as Unicode 0xFFFD in
David Lawrence Ramsey [Mon, 18 Jul 2005 03:23:37 +0000 (03:23 +0000)]
don't display invalid multibyte sequences as Unicode 0xFFFD in
display_string() anymore, as it's inconsistent with how we handle them
elsewhere

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2886 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agobetter edit_scroll() redundancy fix
David Lawrence Ramsey [Sun, 17 Jul 2005 22:51:44 +0000 (22:51 +0000)]
better edit_scroll() redundancy fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2885 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofix edit_scroll() redundancy
David Lawrence Ramsey [Sun, 17 Jul 2005 15:42:21 +0000 (15:42 +0000)]
fix edit_scroll() redundancy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2884 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agocomment fixes
David Lawrence Ramsey [Sun, 17 Jul 2005 15:40:49 +0000 (15:40 +0000)]
comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2883 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoper DB'S patch, in do_spell(), when displaying an error message from
David Lawrence Ramsey [Sun, 17 Jul 2005 03:50:22 +0000 (03:50 +0000)]
per DB'S patch, in do_spell(), when displaying an error message from
do_(int|alt)_speller(), don't display the error message corresponding to
errno if errno is zero

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2882 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agochange NANO_WIDE #define to ENABLE_UTF8, as the latter is clearer
David Lawrence Ramsey [Sun, 17 Jul 2005 02:40:07 +0000 (02:40 +0000)]
change NANO_WIDE #define to ENABLE_UTF8, as the latter is clearer

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2881 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofix glitch in edit_scroll() where scrolling up to the top line of the
David Lawrence Ramsey [Sun, 17 Jul 2005 02:19:47 +0000 (02:19 +0000)]
fix glitch in edit_scroll() where scrolling up to the top line of the
file with fewer than nlines lines available to scroll would leave half
the screen unupdated

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2880 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agosimplify get_totals() (renamed get_totsize()) to only get the total
David Lawrence Ramsey [Sun, 17 Jul 2005 01:44:35 +0000 (01:44 +0000)]
simplify get_totals() (renamed get_totsize()) to only get the total
number of characters, and eliminate dependence on its old ability to get
the total number of lines by renumber()ing when necessary and using the
number of the last line of a filestruct

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2879 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd missing check_statusblank() calls
David Lawrence Ramsey [Sun, 17 Jul 2005 00:01:18 +0000 (00:01 +0000)]
add missing check_statusblank() calls

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2878 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agospeed up character output, and fix edit_refresh() breakage
David Lawrence Ramsey [Sat, 16 Jul 2005 23:36:10 +0000 (23:36 +0000)]
speed up character output, and fix edit_refresh() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2877 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoproperly overhaul edit_scroll() to update the screen on its own this
David Lawrence Ramsey [Sat, 16 Jul 2005 22:50:30 +0000 (22:50 +0000)]
properly overhaul edit_scroll() to update the screen on its own this
time, convert the vertical movement functions to use the new version of
it, and simplify them where possible

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2876 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoreally fix color breakage by decoupling edit_update() and
David Lawrence Ramsey [Sat, 16 Jul 2005 22:47:12 +0000 (22:47 +0000)]
really fix color breakage by decoupling edit_update() and
edit_refresh(); edit_update() is only called without edit_refresh() in
do_gotolinecolumn() if allow_update is FALSE, and in edit_refresh()
itself if edittop is out of range of current

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2875 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agocosmetic and #ifdef fixes
David Lawrence Ramsey [Sat, 16 Jul 2005 22:35:11 +0000 (22:35 +0000)]
cosmetic and #ifdef fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2874 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofix color breakage; also, in main(), when opening files with
David Lawrence Ramsey [Sat, 16 Jul 2005 07:06:36 +0000 (07:06 +0000)]
fix color breakage; also, in main(), when opening files with
"+LINE,COLUMN" arguments on the command line, don't update the screen
when moving to their specified lines and columns

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2873 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agocomment fix
David Lawrence Ramsey [Sat, 16 Jul 2005 03:23:56 +0000 (03:23 +0000)]
comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2872 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoclean up edit_redraw() a bit
David Lawrence Ramsey [Sat, 16 Jul 2005 02:12:18 +0000 (02:12 +0000)]
clean up edit_redraw() a bit

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2871 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofix stat breakage
David Lawrence Ramsey [Fri, 15 Jul 2005 19:37:32 +0000 (19:37 +0000)]
fix stat breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2870 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agostill more miscellaneous color fixes
David Lawrence Ramsey [Fri, 15 Jul 2005 01:08:52 +0000 (01:08 +0000)]
still more miscellaneous color fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2869 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoa few more miscellaneous color fixes
David Lawrence Ramsey [Fri, 15 Jul 2005 00:36:49 +0000 (00:36 +0000)]
a few more miscellaneous color fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2868 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agosplit overly long changelog entry
David Lawrence Ramsey [Fri, 15 Jul 2005 00:22:28 +0000 (00:22 +0000)]
split overly long changelog entry

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2867 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agohandle unspecified foreground colors
David Lawrence Ramsey [Fri, 15 Jul 2005 00:17:13 +0000 (00:17 +0000)]
handle unspecified foreground colors

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2866 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd one last breakage fix
David Lawrence Ramsey [Fri, 15 Jul 2005 00:08:23 +0000 (00:08 +0000)]
add one last breakage fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2865 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomore miscellaneous minor fixes
David Lawrence Ramsey [Thu, 14 Jul 2005 23:51:52 +0000 (23:51 +0000)]
more miscellaneous minor fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2864 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomore miscellaneous breakage fixes
David Lawrence Ramsey [Thu, 14 Jul 2005 23:06:22 +0000 (23:06 +0000)]
more miscellaneous breakage fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2863 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofix more color breakage
David Lawrence Ramsey [Thu, 14 Jul 2005 22:28:22 +0000 (22:28 +0000)]
fix more color breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2862 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agocomment fixes
David Lawrence Ramsey [Thu, 14 Jul 2005 22:19:20 +0000 (22:19 +0000)]
comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2861 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoit turns out edit_redraw() is needed after all when doing
David Lawrence Ramsey [Thu, 14 Jul 2005 22:15:09 +0000 (22:15 +0000)]
it turns out edit_redraw() is needed after all when doing
PageUp/PageDown; revert all the movement code and edit_scroll() changes
except for added comments and edit_scroll() simplifications

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2860 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd comments, and fix some edit_scroll() breakage
David Lawrence Ramsey [Thu, 14 Jul 2005 20:37:01 +0000 (20:37 +0000)]
add comments, and fix some edit_scroll() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2859 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd minor fixes to the new color code, and merge parts of Brand
David Lawrence Ramsey [Thu, 14 Jul 2005 18:33:51 +0000 (18:33 +0000)]
add minor fixes to the new color code, and merge parts of Brand
Huntsman's old patch in where applicable

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2858 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoprototype fix
David Lawrence Ramsey [Thu, 14 Jul 2005 18:31:45 +0000 (18:31 +0000)]
prototype fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2857 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomake the movement code simpler by tweaking edit_scroll() to redraw all
David Lawrence Ramsey [Thu, 14 Jul 2005 18:01:08 +0000 (18:01 +0000)]
make the movement code simpler by tweaking edit_scroll() to redraw all
necessary lines instead of calling it and then calling edit_redraw()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2856 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agotypo fix
David Lawrence Ramsey [Thu, 14 Jul 2005 17:31:39 +0000 (17:31 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2855 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd breakage fixes, type fixes, and as-needed color regex compilation
David Lawrence Ramsey [Wed, 13 Jul 2005 20:18:46 +0000 (20:18 +0000)]
add breakage fixes, type fixes, and as-needed color regex compilation

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2854 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years ago*really* fix more breakage
David Lawrence Ramsey [Tue, 12 Jul 2005 23:25:00 +0000 (23:25 +0000)]
*really* fix more breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2853 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agostill more breakage fixes
David Lawrence Ramsey [Tue, 12 Jul 2005 23:06:22 +0000 (23:06 +0000)]
still more breakage fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2852 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomiscellaneous minor fixes
David Lawrence Ramsey [Tue, 12 Jul 2005 20:09:24 +0000 (20:09 +0000)]
miscellaneous minor fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2851 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofix marking breakage
David Lawrence Ramsey [Tue, 12 Jul 2005 17:40:16 +0000 (17:40 +0000)]
fix marking breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2850 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agotypo fix
David Lawrence Ramsey [Mon, 11 Jul 2005 20:50:43 +0000 (20:50 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2849 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoper Ken Tyler's suggestion, simplify do_gotoline_msg further; also, in
David Lawrence Ramsey [Mon, 11 Jul 2005 20:19:59 +0000 (20:19 +0000)]
per Ken Tyler's suggestion, simplify do_gotoline_msg further; also, in
usage(), properly mention the support for "[+LINE,COLUMN]" at the
command line when HAVE_GETOPT_LONG isn't defined

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2848 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofixing titlebar(), take three
David Lawrence Ramsey [Mon, 11 Jul 2005 07:12:33 +0000 (07:12 +0000)]
fixing titlebar(), take three

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2847 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years ago*really* fix titlebar()
David Lawrence Ramsey [Sun, 10 Jul 2005 23:57:32 +0000 (23:57 +0000)]
*really* fix titlebar()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2846 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoreally fix titlebar()
David Lawrence Ramsey [Sun, 10 Jul 2005 23:45:23 +0000 (23:45 +0000)]
really fix titlebar()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2845 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agouse blank_line() instead of hblank/mvwhline(), and fix more breakage
David Lawrence Ramsey [Sun, 10 Jul 2005 02:37:38 +0000 (02:37 +0000)]
use blank_line() instead of hblank/mvwhline(), and fix more breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2844 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoremove redundancy
David Lawrence Ramsey [Sat, 9 Jul 2005 05:52:08 +0000 (05:52 +0000)]
remove redundancy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofix still more breakage caused by the overhaul
David Lawrence Ramsey [Sat, 9 Jul 2005 05:38:21 +0000 (05:38 +0000)]
fix still more breakage caused by the overhaul

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2842 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agowork around slang brokenness
David Lawrence Ramsey [Sat, 9 Jul 2005 05:24:33 +0000 (05:24 +0000)]
work around slang brokenness

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2841 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoreplace almost all mvwaddstr(hblank) calls with mvwhline(' ', COLS)
David Lawrence Ramsey [Sat, 9 Jul 2005 04:49:09 +0000 (04:49 +0000)]
replace almost all mvwaddstr(hblank) calls with mvwhline(' ', COLS)
calls, which do the same thing

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2840 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoyet more breakage fixes
David Lawrence Ramsey [Sat, 9 Jul 2005 04:42:47 +0000 (04:42 +0000)]
yet more breakage fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2839 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoadd one last breakage fix
David Lawrence Ramsey [Sat, 9 Jul 2005 03:40:44 +0000 (03:40 +0000)]
add one last breakage fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2838 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agostill more breakage fixes
David Lawrence Ramsey [Fri, 8 Jul 2005 21:12:39 +0000 (21:12 +0000)]
still more breakage fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2837 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agofix some breakage caused by the restructuring
David Lawrence Ramsey [Fri, 8 Jul 2005 20:59:24 +0000 (20:59 +0000)]
fix some breakage caused by the restructuring

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2836 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agorestructure things so that every file has its own openfilestruct, and so
David Lawrence Ramsey [Fri, 8 Jul 2005 20:09:16 +0000 (20:09 +0000)]
restructure things so that every file has its own openfilestruct, and so
that the values in it are used directly instead of being periodically
synced up with the globals; accordingly, remove the globals; this
changes pretty much every function

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2835 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agorename filebuffer to openfile. as it's shorter
David Lawrence Ramsey [Fri, 8 Jul 2005 19:57:25 +0000 (19:57 +0000)]
rename filebuffer to openfile. as it's shorter

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2834 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomiscellaneous minor fixes
David Lawrence Ramsey [Fri, 8 Jul 2005 04:53:51 +0000 (04:53 +0000)]
miscellaneous minor fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2833 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoanother formatting fix
David Lawrence Ramsey [Fri, 8 Jul 2005 03:15:09 +0000 (03:15 +0000)]
another formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2832 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agorename variable open_files filebuffer, for consistency
David Lawrence Ramsey [Fri, 8 Jul 2005 02:51:58 +0000 (02:51 +0000)]
rename variable open_files filebuffer, for consistency

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2831 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoreorder some functions for consistency
David Lawrence Ramsey [Fri, 8 Jul 2005 02:47:05 +0000 (02:47 +0000)]
reorder some functions for consistency

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2830 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agoformatting fix
David Lawrence Ramsey [Fri, 8 Jul 2005 02:36:16 +0000 (02:36 +0000)]
formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2829 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agomore cosmetic fixes
David Lawrence Ramsey [Fri, 8 Jul 2005 02:18:23 +0000 (02:18 +0000)]
more cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2828 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

19 years agocosmetic fix
David Lawrence Ramsey [Fri, 8 Jul 2005 02:05:39 +0000 (02:05 +0000)]
cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2827 35c25a1d-7b9e-4130-9fde-d3aeb78583b8