]>
git.wh0rd.org Git - nano.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
David Lawrence Ramsey [Fri, 8 Jul 2005 02:01:07 +0000 (02:01 +0000)]
add more int -> ssize_t line number fixes, plus one formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2826
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 8 Jul 2005 01:49:43 +0000 (01:49 +0000)]
reword an error message for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2825
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 8 Jul 2005 01:11:27 +0000 (01:11 +0000)]
fix renumber_all() as well as renumber()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2824
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 8 Jul 2005 01:08:25 +0000 (01:08 +0000)]
in renumber(), when renumbering, properly use a ssize_t instead of an
int
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2823
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 7 Jul 2005 20:11:17 +0000 (20:11 +0000)]
in shortcut_init(), per Jordi's suggestion, simplify wording of
nano_gotoline_msg
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2822
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Thu, 7 Jul 2005 20:02:39 +0000 (20:02 +0000)]
Italian and Catalan update from the TP.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2821
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 6 Jul 2005 19:20:32 +0000 (19:20 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2820
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 6 Jul 2005 19:12:41 +0000 (19:12 +0000)]
in display_string(), display invalid multibyte sequences as Unicode
0xFFFD (Replacement Character)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2819
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 6 Jul 2005 19:11:15 +0000 (19:11 +0000)]
add missing dashes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2818
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 5 Jul 2005 01:02:11 +0000 (01:02 +0000)]
in faq.html, update section 4.10 to mention that pasting from the X
clipboard via the middle mouse button also works when the Shift key is
used
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2817
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 5 Jul 2005 00:54:40 +0000 (00:54 +0000)]
typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2816
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 4 Jul 2005 04:22:30 +0000 (04:22 +0000)]
with the removal of the last snprintf(), we now only use vsnprintf(), so
remove snprintf()-related #ifdefs and checks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2815
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 4 Jul 2005 03:55:13 +0000 (03:55 +0000)]
more minor variable tweaks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2814
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 4 Jul 2005 03:43:54 +0000 (03:43 +0000)]
in do_alt_speller(), if we can't invoke the spell checker, use sprintf()
instead of snprintf() to write the error string we return, as
altspell_error will always be long enough to hold it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2813
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 4 Jul 2005 03:26:43 +0000 (03:26 +0000)]
minor variable tweaks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2812
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 3 Jul 2005 22:00:29 +0000 (22:00 +0000)]
add Mike Frysinger's Bourne shell script regexes, with a few minor
tweaks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2811
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 2 Jul 2005 22:12:27 +0000 (22:12 +0000)]
add missing colon
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2810
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 2 Jul 2005 17:56:29 +0000 (17:56 +0000)]
clean up the search code a bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2809
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 2 Jul 2005 17:49:27 +0000 (17:49 +0000)]
in do_replace(), blank out last_replace properly again just before
displaying the "Replace" prompt
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2808
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 1 Jul 2005 23:11:52 +0000 (23:11 +0000)]
more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2807
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 1 Jul 2005 22:58:47 +0000 (22:58 +0000)]
minor cosmetic and constant cursor position display fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2806
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Jun 2005 17:17:41 +0000 (17:17 +0000)]
Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2805
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Jun 2005 17:16:16 +0000 (17:16 +0000)]
GNU nano 1.3.8
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2803
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Jun 2005 16:18:35 +0000 (16:18 +0000)]
remove unneeded clearok(TRUE) from total_redraw()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2802
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Jun 2005 05:56:39 +0000 (05:56 +0000)]
make do_yesno() refresh the edit window as well as the statusbar before
getting input, as statusq() does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2801
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Jun 2005 04:17:18 +0000 (04:17 +0000)]
in do_replace_highlight(), call wnoutrefresh(edit) to make sure that the
highlight is drawn properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2800
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Jun 2005 03:55:55 +0000 (03:55 +0000)]
in do_replace_highlight(), rename variable highlight_flag to highlight,
for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2799
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Jun 2005 03:53:28 +0000 (03:53 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2798
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 29 Jun 2005 19:01:11 +0000 (19:01 +0000)]
in do_yesno(), het input from bottomwin instead of edit, so that the
cursor isn't erroneously put in the edit window while we wait for an
answer
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2797
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 29 Jun 2005 18:17:54 +0000 (18:17 +0000)]
more int -> bool conversions
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2796
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 29 Jun 2005 17:10:58 +0000 (17:10 +0000)]
improve version()'s output
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2795
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 29 Jun 2005 02:19:02 +0000 (02:19 +0000)]
in POTFILES.in, remove source files that contain no translatable strings
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2794
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 29 Jun 2005 01:27:33 +0000 (01:27 +0000)]
in find_paragraph(), reset placewewant as well as current_x to 0, in
order to avoid a potential screen update problem
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2793
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 29 Jun 2005 00:17:18 +0000 (00:17 +0000)]
add one missing type change
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2792
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 20:04:14 +0000 (20:04 +0000)]
in do_cursorpos(), if constant is TRUE, only display the cursor position
when disable_cursorpos is FALSE; don't refuse to display it when the
cursor position hasn't changed, as that doesn't always keep it properly
updated
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2791
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 19:56:14 +0000 (19:56 +0000)]
more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2790
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 19:49:15 +0000 (19:49 +0000)]
more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2789
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 18:57:28 +0000 (18:57 +0000)]
add missing blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2788
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 17:51:28 +0000 (17:51 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2787
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 17:35:20 +0000 (17:35 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2786
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 14:59:38 +0000 (14:59 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2785
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 07:26:11 +0000 (07:26 +0000)]
rework the credits handling to display Florian König's name properly
whether we're in a UTF-8 locale or not. This requires a minor hack, but
it's better than requiring a massive function that we only use once
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2784
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 07:16:13 +0000 (07:16 +0000)]
add missing blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2783
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 06:25:34 +0000 (06:25 +0000)]
add various type changes to avoid problems on systems where int and
ssize_t are different sizes. Make filestruct->lineno a ssize_t (so that
we can avoid negative line numbers at the "Go To Line" prompt),
current_y a ssize_t (in order to hold the maximum difference between two
filestruct->lineno's), totlines a size_t, and change related variables
to match
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2782
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 06:16:30 +0000 (06:16 +0000)]
more miscellaneous minor fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2781
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 06:05:54 +0000 (06:05 +0000)]
in do_justify(), save placewewant, and restore it if we unjustify, in
order to avoid a potential screen update problem
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2780
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 05:56:16 +0000 (05:56 +0000)]
in edit_redraw(), make do_refresh a bool instead of an int
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2779
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 28 Jun 2005 05:27:20 +0000 (05:27 +0000)]
remove now-unused search_last_line global
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2778
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 27 Jun 2005 12:25:17 +0000 (12:25 +0000)]
per Mike Frysinger's suggestion, in the "nanorc" regexes, put "^" back
in the comment regex so that we don't match strings containing #'s
anymore
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2777
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 27 Jun 2005 05:01:32 +0000 (05:01 +0000)]
clarify and consolidate the descriptions of the "fill" and "tabsize"
options in the documentation (e.g. "fill 0" acts just like "fill
[negative number]")
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2776
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 27 Jun 2005 03:47:52 +0000 (03:47 +0000)]
add missing "?" to the color name regex of the "nanorc" regexes, so that
regexes like "color ,green" won't be colored as though they're invalid
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2775
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 27 Jun 2005 03:07:10 +0000 (03:07 +0000)]
add support for case insensitive expression matching when using color
syntax highlighting, via the "icolor" directive, and add it to those
regexes that can use it (ported from Brand Huntsman's old patch)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2774
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 27 Jun 2005 03:04:49 +0000 (03:04 +0000)]
simplify the file extension regex for groff
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2773
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 27 Jun 2005 02:56:59 +0000 (02:56 +0000)]
add Mike Frysinger's GCC builtins regex to the "c-file" regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2772
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 23:35:55 +0000 (23:35 +0000)]
punctuation fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2771
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 23:16:14 +0000 (23:16 +0000)]
do the same thing for the equivalent regex for assembler files
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2770
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 22:59:54 +0000 (22:59 +0000)]
more last-minute comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2769
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 22:32:51 +0000 (22:32 +0000)]
add missing int -> bool conversion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2768
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 20:05:01 +0000 (20:05 +0000)]
in do_toggle(), properly treat color syntax highlighting as enabled by
default, and only treat wrapping as enabled by default when
DISABLE_WRAPPING isn't defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2767
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 19:49:53 +0000 (19:49 +0000)]
apparently a "[[:space:]]" doesn't work properly inside a "[^ ... ]";
replace it with a literal space and a literal tab, so that include files
are properly colored again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2766
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 19:03:48 +0000 (19:03 +0000)]
per Mike Frysinger's suggestion, change the word detection functions'
behavior back to what it was before (for now, until there's a way for
the user to control it), as their new behavior makes them harder to use
when editing source code; by the same token, leave word count's behavior
the way it is, since it's generally not used when editing source code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2765
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 03:32:03 +0000 (03:32 +0000)]
add Mike Frysinger's regexes for assembler files
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2764
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Jun 2005 03:26:24 +0000 (03:26 +0000)]
in nanorc.sample, banish " " whever possible in favor of "[[:space:]]"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2763
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8