David Lawrence Ramsey
3f35864b10
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
2004-11-22 16:04:18 +00:00
David Lawrence Ramsey
74d87073f0
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
2004-11-22 00:16:23 +00:00
David Lawrence Ramsey
e56d936bd4
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
2004-11-21 18:51:30 +00:00
David Lawrence Ramsey
831c640e62
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
2004-11-21 18:44:23 +00:00
David Lawrence Ramsey
b908a36d60
add another cvs command fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2114 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-21 17:50:23 +00:00
David Lawrence Ramsey
b75763e07e
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
2004-11-21 17:45:25 +00:00
David Lawrence Ramsey
188f169e1d
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
2004-11-20 16:16:47 +00:00
Jordi Mallach
c0d3b20bdc
Get rid of config.rpath.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2111 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-20 00:39:02 +00:00
Jordi Mallach
42ca620e11
Updated French translation.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2110 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-18 22:25:16 +00:00
Jordi Mallach
69a90c6b3b
Updated Malay translation.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2109 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-18 22:13:47 +00:00
Jordi Mallach
d7b632560c
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
2004-11-18 00:05:14 +00:00
Jordi Mallach
55381aa614
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
2004-11-17 23:17:05 +00:00
David Lawrence Ramsey
f6159047bc
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
2004-11-17 20:47:14 +00:00
David Lawrence Ramsey
4db3d0adf7
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2105 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-17 17:44:29 +00:00
David Lawrence Ramsey
6b769e5f5b
formatting fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2104 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-17 16:59:34 +00:00
David Lawrence Ramsey
0317c86a8a
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
2004-11-16 22:51:07 +00:00
David Lawrence Ramsey
a98fd75b32
spell Ulf Härnhammar's name right
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2102 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-16 13:09:43 +00:00
David Lawrence Ramsey
8091d334a3
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
2004-11-16 02:23:10 +00:00
David Lawrence Ramsey
9df069cc5f
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2100 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-16 02:20:48 +00:00
David Lawrence Ramsey
97b9046239
document the last fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2099 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-15 23:10:56 +00:00
David Lawrence Ramsey
036a3d4646
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
2004-11-15 21:49:21 +00:00
David Lawrence Ramsey
4a3879f1ed
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
2004-11-15 20:42:31 +00:00
David Lawrence Ramsey
56cf034a12
comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2096 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-15 18:44:30 +00:00
David Lawrence Ramsey
649b431171
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
2004-11-13 01:32:17 +00:00
David Lawrence Ramsey
bfb98f8bd4
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
2004-11-12 21:46:14 +00:00
David Lawrence Ramsey
8001e27e67
yet more cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2093 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-12 00:48:18 +00:00
David Lawrence Ramsey
907725fde8
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
2004-11-12 00:09:20 +00:00
David Lawrence Ramsey
8781fc62cb
fix entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2091 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-11 22:02:48 +00:00
David Lawrence Ramsey
1f1ebb85b7
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
2004-11-11 21:50:01 +00:00
David Lawrence Ramsey
e3016d90aa
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
2004-11-11 14:35:31 +00:00
David Lawrence Ramsey
6299b0d752
improve another assertion
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2088 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-08 03:22:23 +00:00
David Lawrence Ramsey
2c31540fa9
improve assertion
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2087 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-08 03:19:10 +00:00
David Lawrence Ramsey
fd9da07e6c
fix enum/#define conflict
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2086 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-07 23:05:48 +00:00
David Lawrence Ramsey
fdd3becc1e
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
2004-11-07 21:30:55 +00:00
David Lawrence Ramsey
c136f75f62
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
2004-11-07 18:35:53 +00:00
David Lawrence Ramsey
a084ad94f7
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
2004-11-07 18:22:33 +00:00
David Lawrence Ramsey
c15802f8c3
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
2004-11-07 18:09:41 +00:00
David Lawrence Ramsey
7105cf4f8e
formatting fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2081 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-07 16:13:19 +00:00
David Lawrence Ramsey
02085d7b92
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
2004-11-07 16:04:18 +00:00
David Lawrence Ramsey
50af6ea21e
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
2004-11-07 15:29:40 +00:00
David Lawrence Ramsey
8ae06a86b8
comment update
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2078 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-07 01:26:39 +00:00
David Lawrence Ramsey
29f446ec40
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
2004-11-07 01:22:20 +00:00
David Lawrence Ramsey
eb5d8383c8
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
2004-11-06 21:26:09 +00:00
David Lawrence Ramsey
00cca05ebb
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
2004-11-06 20:33:43 +00:00
David Lawrence Ramsey
8c16bacbbf
more int -> bool conversions
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2074 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-06 15:10:57 +00:00
David Lawrence Ramsey
bde3e0e294
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
2004-11-06 02:37:25 +00:00
David Lawrence Ramsey
cb09337993
rearrange a few if blocks for consistency
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2072 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-11-06 00:18:27 +00:00
David Lawrence Ramsey
46c604a14e
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
2004-11-05 23:55:58 +00:00
David Lawrence Ramsey
90e59c1a18
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
2004-11-05 23:03:03 +00:00
David Lawrence Ramsey
93eb293fbb
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
2004-11-05 18:01:33 +00:00