David Lawrence Ramsey
8f975a11f0
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3706 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 14:25:34 +00:00
David Lawrence Ramsey
2458b295d9
fix breakage
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3705 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 14:21:29 +00:00
David Lawrence Ramsey
a4e92c8ad6
in striponedir(), return the stripped path instead of modifying path
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3704 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 14:14:40 +00:00
David Lawrence Ramsey
fef232a672
in striponedir(), since all the strings passed to this are dynamically
...
allocated, use null_at() to strip the directory from the string
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3703 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 13:58:29 +00:00
David Lawrence Ramsey
8cd0d2c751
cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3702 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 07:27:15 +00:00
David Lawrence Ramsey
0fd5d60477
revert last changes, as the "Go to Directory" prompt can allow movement
...
anywhere, so the error message won't make sense in some cases
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3701 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 07:26:14 +00:00
David Lawrence Ramsey
780f1d3f78
fix breakage
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3700 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 07:12:14 +00:00
David Lawrence Ramsey
6cefb9f21a
in do_browser(), display an error messsage on the statusbar if we try to
...
move up from "/" via the "Go to Directory" prompt, for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3699 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 07:03:42 +00:00
David Lawrence Ramsey
d04037760d
in do_browser(), after entering "..", select the directory we were in
...
before instead of the first filename in the list, as Pico does; add new
function browser_select_filename() to help do this properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3698 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 06:41:31 +00:00
David Lawrence Ramsey
ef45a2528c
add missing comments
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3697 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 05:12:53 +00:00
David Lawrence Ramsey
727c244ab6
in findnextfile(), simplify the uses of tail()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3696 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 04:46:24 +00:00
David Lawrence Ramsey
68e2c375e7
in browser_refresh(), for the ".." entry, display "(parent dir)" instead
...
of "(dir)", as Pico does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3695 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 03:19:28 +00:00
David Lawrence Ramsey
99c87ccb0c
in browser_refresh(), fix problems where translated versions of "(dir)"
...
could be truncated, and where file sizes could be too long
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3694 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 02:44:11 +00:00
David Lawrence Ramsey
4e71ab6891
add missing blank line
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3693 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-30 02:26:26 +00:00
David Lawrence Ramsey
b0c1bc28f8
in browser_refresh(), simplify more things
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3692 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-29 15:46:05 +00:00
David Lawrence Ramsey
0e92adf153
in browser_refresh(), simplify the for loop
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3691 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-29 15:28:39 +00:00
David Lawrence Ramsey
3b722460b8
in do_browser(), remove unneeded call to blank_edit()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3690 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-29 15:08:00 +00:00
David Lawrence Ramsey
865ad94100
in get_mouseinput(), handle both releases and clicks of mouse button 1,
...
as the mouse support works better that way
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3689 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-29 01:38:58 +00:00
David Lawrence Ramsey
6c8f92c092
cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3688 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-28 23:27:07 +00:00
David Lawrence Ramsey
2f94f42730
in do_browser(), refactor and simplify the mouse support, modeling it
...
after do_mouse() for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3687 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-28 22:38:11 +00:00
David Lawrence Ramsey
98e4d4f3b1
fix mouse support so that it really ignores everything except releases
...
of button 1 (i.e, left clicks)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3686 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-28 21:54:55 +00:00
David Lawrence Ramsey
f23cc46655
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3685 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-27 00:39:42 +00:00
David Lawrence Ramsey
decae6c25e
per Mike Frysinger's patch, in doc/syntax/c.nanorc, since .i and .ii are
...
preprocessed C and C++ output, colorize them there
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3684 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-26 23:40:31 +00:00
David Lawrence Ramsey
74d8ebc041
add various option description fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3683 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-26 04:39:31 +00:00
David Lawrence Ramsey
899d0360ec
Back to CVS
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3682 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-26 04:03:31 +00:00
David Lawrence Ramsey
db5b54767c
GNU nano 1.3.12
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3680 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-26 04:01:31 +00:00
David Lawrence Ramsey
1df1c9e4c0
fix #ifdefs
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3679 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-25 17:25:13 +00:00
David Lawrence Ramsey
5c8d316a27
per John M. Gabriele's patch with a few tweaks by me, in README and
...
README.CVS, add various cosmetic and wording improvements
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-25 04:37:05 +00:00
David Lawrence Ramsey
d76de38109
in edit_draw(), don't display any statusbar message when we get a
...
zero-length regex, as we can get one under legitimate circumstances
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3677 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-21 20:51:36 +00:00
David Lawrence Ramsey
5c878088a1
in update_line(), remove unneeded assert, and now-unused function
...
check_linenumbers()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3676 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-21 16:54:51 +00:00
Jordi Mallach
d4401008a4
ca, fr, hu, nl updates from the TP.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3675 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-21 16:49:00 +00:00
David Lawrence Ramsey
a4fc77a5da
in digits(), return the proper number of digits when n is exactly 10,
...
and simplify it to use a for loop instead of a while loop
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3674 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-21 16:01:20 +00:00
David Lawrence Ramsey
5aaa1d7dab
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3673 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-21 01:30:00 +00:00
David Lawrence Ramsey
6885a1523c
fix erroneous version number
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3672 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-20 16:12:22 +00:00
David Lawrence Ramsey
af72c16da4
fix incorrect "Project-Id-Version" entries in several translations
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3671 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-20 13:25:49 +00:00
Jordi Mallach
9e2f8ea668
Bulgarian and Irish updates from the TP.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3670 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 17:46:13 +00:00
David Lawrence Ramsey
23ed015725
in help_init(), display the shortcut list help text even when we have
...
fewer than 24 columns, for consistency with the toggle help text, and
add various minor consistency fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 16:04:42 +00:00
David Lawrence Ramsey
bd2c8f3d2d
in help_init(), make sure we have enough memory in all cases when
...
displaying the shortcut and toggle lists; and wrap the shortcut list
help text, for consistency with the toggle help text
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 15:35:35 +00:00
David Lawrence Ramsey
df7aaed743
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3667 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 14:24:12 +00:00
David Lawrence Ramsey
186c795b88
in help_line_len(), properly handle the case where we can't break the
...
line of help text, and wrap the line of help text at (COLS - 1) instead
of (COLS - 8), for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3666 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 14:18:22 +00:00
Jordi Mallach
832994804e
Updated Bulgarian translation from the TP.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3665 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-19 13:01:45 +00:00
David Lawrence Ramsey
bac8908814
cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-18 15:26:51 +00:00
David Lawrence Ramsey
ee995b7d27
fix screen update problem when copying the last line on the screen with
...
the mark off and CUT_TO_END set to FALSE
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3663 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-18 15:21:11 +00:00
Jordi Mallach
5b0781dbf3
French manpages update by Jean-Philippe.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3662 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-17 19:27:38 +00:00
Jordi Mallach
3dd9d710a1
Several translation updates submitted by translators for the 1.3.12 release.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3661 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-17 02:19:17 +00:00
David Lawrence Ramsey
4f2a073cf9
per Benno Schulenberg's patch, in do_writeout(), fix problem where the
...
modifiers at the "Write File" prompt were marked for translation via
gettext no-ops but never actually translated; also, in do_insertfile(),
use actual gettext calls instead of no-ops, for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3660 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-14 13:19:43 +00:00
David Lawrence Ramsey
b0226fb86a
in faq.html, update section 5.3, due to the display fix for two-column
...
Unicode characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3659 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-12 20:26:38 +00:00
Jordi Mallach
386cc99385
Hungarian and French updates from the TP.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3658 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-12 09:07:01 +00:00
David Lawrence Ramsey
03979d7a08
another comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3657 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-11 19:15:59 +00:00
David Lawrence Ramsey
d4686b8e51
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3656 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-11 19:14:14 +00:00