]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Sat, 27 Nov 2004 23:28:39 +0000 (23:28 +0000)]
typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2149
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 21:39:01 +0000 (21:39 +0000)]
remove specific references to control key shortcuts in configure.ac
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2148
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 21:10:11 +0000 (21:10 +0000)]
more formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2147
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 20:42:46 +0000 (20:42 +0000)]
remove another unneeded blank space
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2146
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 20:39:26 +0000 (20:39 +0000)]
remove unneeded blank spaces
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2145
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 16:54:00 +0000 (16:54 +0000)]
formatting and cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2144
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 15:18:34 +0000 (15:18 +0000)]
in unget_kbinput(), free s after the wctomb() call, since we don't need
it after that
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2143
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 15:07:07 +0000 (15:07 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2142
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 15:00:18 +0000 (15:00 +0000)]
in get_verbatim_kbinput(), don't pass v_kbinput in as a parameter, since
we're dynamically allocating it and then returning it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2141
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 27 Nov 2004 06:43:06 +0000 (06:43 +0000)]
add debug messages to get_shortcut() and get_toggle()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2140
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 26 Nov 2004 20:17:49 +0000 (20:17 +0000)]
formatting and cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2139
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 26 Nov 2004 20:14:19 +0000 (20:14 +0000)]
in get_full_path(), remove unneeded NANO_SMALL #ifdef, so that it's
included whenever its prototype is, and so it can compile when
DISABLE_OPERATINGDIR isn't defined and NANO_SMALL is
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2138
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 26 Nov 2004 18:10:07 +0000 (18:10 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2137
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 25 Nov 2004 05:05:41 +0000 (05:05 +0000)]
in the low-level input routines, make the ascii_digits variables ints
instead of size_t's, since they will only hold very small values
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2136
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 25 Nov 2004 04:56:50 +0000 (04:56 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2135
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 25 Nov 2004 04:39:07 +0000 (04:39 +0000)]
add DB's overhaul of the multibuffer code for efficiency, plus a few
tweaks and additions of mine
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2134
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 24 Nov 2004 23:46:04 +0000 (23:46 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2133
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 24 Nov 2004 20:36:36 +0000 (20:36 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2132
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 24 Nov 2004 20:12:57 +0000 (20:12 +0000)]
oops again; adding an extra magicline unconditionally when uncutting is
inconsistent with how file insertion behaves, so it apparently is a bug;
revert the previous behavior
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2131
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 23 Nov 2004 23:42:12 +0000 (23:42 +0000)]
oops; Pico's adding a new magicline unconditionally when uncutting
leaves the cursor on the current magicline is actually consistent (and
hence not a bug), so duplicate that behavior again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2130
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 23 Nov 2004 22:30:32 +0000 (22:30 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2129
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 23 Nov 2004 21:40:26 +0000 (21:40 +0000)]
in get_edit_input(), readd parameter allow_funcs, as it's now needed as
a workaround for when unjustified text is stored in the justify buffer
and either the justify or the full justify shortcut is hit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2128
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 23 Nov 2004 20:42:35 +0000 (20:42 +0000)]
in shortcut_init(), fix misplaced #endif keeping the "Full Justify"
shortcut in the search shortcut list from being included when NANO_SMALL
is defined but DISABLE_JUSTIFY isn't
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2127
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 23 Nov 2004 17:59:32 +0000 (17:59 +0000)]
in do_cut_text(), if keep_cutbuffer is FALSE, only blow away the text in
the cutbuffer if the cutbuffer isn't empty
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2126
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 23 Nov 2004 04:17:19 +0000 (04:17 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2125
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 23 Nov 2004 04:08:28 +0000 (04:08 +0000)]
overhaul the cutting and uncutting routines and the justify-related
routines to back up and restore unjustified text to use the partitioning
code, as it greatly simplifies how they work; also back up and restore
unjustified text in its own buffer instead of the cutbuffer, and add a
few minor bug fixes to the overhauled routines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2124
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 23 Nov 2004 03:42:43 +0000 (03:42 +0000)]
in do_wrap(), make wrap_loc and word_back ssize_t's, to match fill, and
add a few minor cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2123
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 22 Nov 2004 17:58:06 +0000 (17:58 +0000)]
Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2122
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 22 Nov 2004 17:55:17 +0000 (17:55 +0000)]
GNU nano 1.3.5
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2120
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 22 Nov 2004 17:08:41 +0000 (17:08 +0000)]
in do_replace_loop(), treat real_current as current and real_current_x
as current_x instead of using copies of them (which aren't kept up to
date) when calling findnextstr(); this fixes a problem where the search
can wrap when it shouldn't and skip over all matches after the wrap
point
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2119
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 22 Nov 2004 16:04:18 +0000 (16:04 +0000)]
fix get_totals() so it properly handles NULL parameters, and restore
totlines after marked spell-check the way the justify routine does
instead of saving it and readding it later
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2118
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 22 Nov 2004 00:16:23 +0000 (00:16 +0000)]
unpartition_filestruct() should take a partition** instead of a
partition*, so that the partition it refers to is properly set to NULL
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2117
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 21 Nov 2004 18:51:30 +0000 (18:51 +0000)]
documentation fix: list sh as an example of a Bourne shell
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2116
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 21 Nov 2004 18:44:23 +0000 (18:44 +0000)]
in README.CVS, mention the need for ssh to do cvs checkouts
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2115
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 21 Nov 2004 17:50:23 +0000 (17:50 +0000)]
add another cvs command fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2114
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 21 Nov 2004 17:45:25 +0000 (17:45 +0000)]
update the given cvs commands in README.CVS so that they work again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2113
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 20 Nov 2004 16:16:47 +0000 (16:16 +0000)]
in README.CVS, mention the requirement for groff in order to create html
versions of the manpages
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2112
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Sat, 20 Nov 2004 00:39:02 +0000 (00:39 +0000)]
Get rid of config.rpath.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2111
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Thu, 18 Nov 2004 22:25:16 +0000 (22:25 +0000)]
Updated French translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2110
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Thu, 18 Nov 2004 22:13:47 +0000 (22:13 +0000)]
Updated Malay translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2109
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Thu, 18 Nov 2004 00:05:14 +0000 (00:05 +0000)]
Don't use DEFS to define stuff. Use INCLUDES instead.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2108
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Wed, 17 Nov 2004 23:17:05 +0000 (23:17 +0000)]
Include <config.h> only if HAVE_CONFIG_H.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2107
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 17 Nov 2004 20:47:14 +0000 (20:47 +0000)]
use top_x and bot_x where possible instead of recalculating entire
string lengths
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2106
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 17 Nov 2004 17:44:29 +0000 (17:44 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2105
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 17 Nov 2004 16:59:34 +0000 (16:59 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2104
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Nov 2004 22:51:07 +0000 (22:51 +0000)]
fix breakage of ASCII character sequence mode introduced with the UTF-8
sequence support
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2103
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Nov 2004 13:09:43 +0000 (13:09 +0000)]
spell Ulf Härnhammar's name right
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2102
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Nov 2004 02:23:10 +0000 (02:23 +0000)]
add Ulf Harnhammar's input_tab() segfault fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2101
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Nov 2004 02:20:48 +0000 (02:20 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2100
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 15 Nov 2004 23:10:56 +0000 (23:10 +0000)]
document the last fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2099
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 15 Nov 2004 21:49:21 +0000 (21:49 +0000)]
fix cursor placement problem when inserting into the current buffer at
the bottom of the edit window with smooth scrolling on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2098
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 15 Nov 2004 20:42:31 +0000 (20:42 +0000)]
fix cursor placement problem when inserting into the current buffer at
the top of the edit window
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2097
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 15 Nov 2004 18:44:30 +0000 (18:44 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2096
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 13 Nov 2004 01:32:17 +0000 (01:32 +0000)]
in cut_marked_segment(), respect concatenate_cut, as we need to use it
if we do a marked cut and immediately follow it with a cut-to-end (which
uses that function)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2095
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 12 Nov 2004 21:46:14 +0000 (21:46 +0000)]
in do_cut_text(), set concatenate_cut to TRUE unconditionally when doing
a marked cut; this fixes an incompatibility with Pico where an extra
line is uncut if we do a marked cut that includes the magicline and
immediately follow it with an unmarked cut
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2094
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 12 Nov 2004 00:48:18 +0000 (00:48 +0000)]
yet more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2093
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 12 Nov 2004 00:09:20 +0000 (00:09 +0000)]
revert the handle_sigwinch() change, as other breakage occurs when
resizing or continuing from a suspend after a justify and it can't be
properly fixed without a rewrite
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2092
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 11 Nov 2004 22:02:48 +0000 (22:02 +0000)]
fix entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2091
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 11 Nov 2004 21:50:01 +0000 (21:50 +0000)]
in handle_sigwinch(), call shortcut_init(FALSE) defore redisplaying the
main list, so that "UnJustify" isn't erroneously displayed when we
justify, suspend, and then continue; also add a few last cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2090
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 11 Nov 2004 14:35:31 +0000 (14:35 +0000)]
in m4/Makefile.am, add glib-2.0.m4 to EXTRA_DIST, so that nano builds
from CVS with automake 1.7.x again; for some reason, automake 1.9.x
didn't have a problem with its (erroneously) being left out; also add
some formatting fixes to other Makefile.am's dealing with too many or
too few blank lines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2089
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 8 Nov 2004 03:22:23 +0000 (03:22 +0000)]
improve another assertion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 8 Nov 2004 03:19:10 +0000 (03:19 +0000)]
improve assertion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2087
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 23:05:48 +0000 (23:05 +0000)]
fix enum/#define conflict
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2086
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 21:30:55 +0000 (21:30 +0000)]
allow blank buffers at the "Execute Command" prompt, and document it in
the help text
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2085
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 18:35:53 +0000 (18:35 +0000)]
don't create a new buffer if we're in multibuffer mode and command
execution mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2084
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 18:22:33 +0000 (18:22 +0000)]
in multibuffer mode, using a blank filename at the "Read File" prompt
shouldn't cancel out of it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2083
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 18:09:41 +0000 (18:09 +0000)]
partition the filestruct properly when executing a command
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2082
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 16:13:19 +0000 (16:13 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2081
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 16:04:18 +0000 (16:04 +0000)]
in the search prompt shortcut list, move "Full Justify" to after
"History", so that the latter is visible onscreen again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2080
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 15:29:40 +0000 (15:29 +0000)]
in proto.h, add missing NANO_SMALL #ifdef around the
cut_marked_segment() prototype
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2079
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 01:26:39 +0000 (01:26 +0000)]
comment update
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2078
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 7 Nov 2004 01:22:20 +0000 (01:22 +0000)]
don't let remove_magicline() remove the magicline if it's the only line
in the file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2077
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 6 Nov 2004 21:26:09 +0000 (21:26 +0000)]
preemptively update the version number in the documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2076
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 6 Nov 2004 20:33:43 +0000 (20:33 +0000)]
in do_uncut_text(), maintain current_y's value when uncutting blocks so
that smooth scrolling works correctly; also add a few miscellaneous
cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2075
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 6 Nov 2004 15:10:57 +0000 (15:10 +0000)]
more int -> bool conversions
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2074
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 6 Nov 2004 02:37:25 +0000 (02:37 +0000)]
in both the internal and alternate spell checker, put the beginning and
the end of the mark at the beginning and the end of the spell-checked
text
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2073
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 6 Nov 2004 00:18:27 +0000 (00:18 +0000)]
rearrange a few if blocks for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2072
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 23:55:58 +0000 (23:55 +0000)]
oops; only work around the problem of the mark's being in the middle of
a spell checked word if the mark was on in the first place
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2071
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 23:03:03 +0000 (23:03 +0000)]
when doing marked spell-check, properly handle the case where the mark
ends in the middle of a word and that word is spell-checked; also move
the logic to detect an upside-down mark to mark_order() instead of using
the same logic in three different places, and rename a few variables for
consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2070
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 18:01:33 +0000 (18:01 +0000)]
more faq updates: add questions about selecting text in an X terminal
when mouse support is turned on and typing F13-F16 when the keyboard
only has F1-F12, plus a few other miscellaneous bits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2069
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 17:29:43 +0000 (17:29 +0000)]
document the last update
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2068
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 17:09:11 +0000 (17:09 +0000)]
fixed FAQ inaccuracy: Pico compatibility mode was made the default in
nano 1.1.99pre1, not 1.2.2
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2067
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 16:24:35 +0000 (16:24 +0000)]
don't change the file format when we insert another file into the
current one
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2066
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 16:22:27 +0000 (16:22 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2065
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 16:01:04 +0000 (16:01 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2064
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 15:39:36 +0000 (15:39 +0000)]
fix entry: "... opened the file, added all of it to the cutbuffer,
closed the file, and uncut at the current cursor position" is clearer
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2063
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 15:25:53 +0000 (15:25 +0000)]
if we're not inserting a file into a new buffer, partition the current
buffer so that it's effectively a new buffer just before inserting the
file, and only restore placewewant afterwards; this is the same behavior
we would get if we opened the file, added all of it to the cutbuffer,
uncut at the current cursor position, and closed the file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2062
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 15:03:12 +0000 (15:03 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2061
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 5 Nov 2004 14:37:18 +0000 (14:37 +0000)]
clean up the partitioning-related if blocks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2060
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Nov 2004 17:42:41 +0000 (17:42 +0000)]
remove a bit of redundant code, and add a few more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2059
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Nov 2004 16:45:48 +0000 (16:45 +0000)]
when (un)partitioning, don't save or restore fileage or filebot if
they're the same as top or bot; also add a few comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2058
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Nov 2004 15:31:43 +0000 (15:31 +0000)]
avoid potential segfaults while unpartitioning a filestruct
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2057
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Nov 2004 13:47:28 +0000 (13:47 +0000)]
in cut.c, make marked_line a static enum instead of a static int, and
add a few formatting cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2056
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Nov 2004 13:40:58 +0000 (13:40 +0000)]
fix entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2055
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Nov 2004 04:08:18 +0000 (04:08 +0000)]
remove the DOS_FILE and MAC_FILE flags, as they're only used in files.c,
and replace them with a static file_format enum; change the
openfilestruct structure accordingly in order to handle this; also add a
few miscellaneous cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2054
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Nov 2004 03:53:11 +0000 (03:53 +0000)]
remove most redundant includes of sys/stat.h; it's included in nano.h,
so it doesn't need to be included in files that include nano.h
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2053
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 4 Nov 2004 03:27:48 +0000 (03:27 +0000)]
remove unneeded space
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2052
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 3 Nov 2004 23:05:11 +0000 (23:05 +0000)]
in search_init(), when we're replacing and the mark is on, display a
prompt indicating that we're replacing text only in the selection
instead of the usual prompt
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2051
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 3 Nov 2004 22:03:41 +0000 (22:03 +0000)]
add code to partition a filestruct between a set of arbitrary
coordinates; given the coordinates of the beginning and end of the mark,
this allows proper and easier handling of saving marked selections,
replacing text only in marked selections, and spell-checking marked
selections using either the internal or alternate spell checker; do all
these using a global partition structure
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2050
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 3 Nov 2004 21:11:38 +0000 (21:11 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2049
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8