Benno Schulenberg
f470c900ae
Standardizing the calls of add_to_funcs(),
...
breaking always between menu and tag.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4928 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 21:02:39 +00:00
Benno Schulenberg
8c5f504c75
Making tiny nano again just a tiny bit tinier.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4927 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 20:31:06 +00:00
Benno Schulenberg
ac193ec774
Updates from the TP for German, Dutch, and Esperanto.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 20:27:37 +00:00
Benno Schulenberg
48223593de
Eliding four unneeded tags.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4925 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 19:02:00 +00:00
Benno Schulenberg
62de330358
Adding a translator comment for the --help output.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4924 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 15:44:11 +00:00
Benno Schulenberg
9b084b2a1d
Removing an unneeded format specifier.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4923 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 15:40:24 +00:00
Benno Schulenberg
ff6b92cfdd
Making ^X in the Read-File menu toggle between
...
executing a command and inserting a file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4922 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 15:35:00 +00:00
Benno Schulenberg
a2d74f7e5e
Removing duplicate translator comments, and adding some others.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4921 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 14:34:11 +00:00
Benno Schulenberg
ec173226cf
Actually translating the Go-to-Directory prompt.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4920 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 13:27:33 +00:00
Benno Schulenberg
d0e234db08
Removing three unused parameters from do_input(),
...
as they are only ever set and never referenced.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4919 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 13:24:05 +00:00
Chris Allegretta
cfa297622b
2014-05-27 Chris Allegretta <chrisa@asty.org>
...
* src/winio.c (edit_refresh): wredrawln() is not supported under
slang.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4918 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-28 01:35:51 +00:00
Benno Schulenberg
0606c62542
Adjusting a translator comment.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4917 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-27 22:03:04 +00:00
Benno Schulenberg
af26551762
Updates from the TP for Russian, Dutch, and German.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4916 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-27 21:56:24 +00:00
Benno Schulenberg
5a39339478
Allowing to rebind 'suspend' in tiny nano.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4915 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-27 12:38:32 +00:00
Benno Schulenberg
769e81c7c3
Make tiny nano a tiny bit tinier.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4914 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-27 12:34:43 +00:00
Benno Schulenberg
0d5e732793
Improving the arrangement of help items under certain compilation conditions.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4913 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-27 12:17:49 +00:00
Benno Schulenberg
022d32a647
Unwrapping some lines, and reordering two.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4912 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-26 10:07:00 +00:00
Benno Schulenberg
c3c2c66697
Fixing compilation and avoiding a warning with --enable-tiny.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4911 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-26 07:53:20 +00:00
Benno Schulenberg
5a86c522bb
Updates from the TP for Ukrainian and Italian.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4910 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-25 20:04:34 +00:00
Benno Schulenberg
353dd21588
Cutting down on the size of tiny nano.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4909 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-25 19:47:46 +00:00
Benno Schulenberg
f5ac8c1ee1
Placing the cursor after an undo there where it was before the do,
...
and handling multibyte characters correctly.
*Patch by Mark Majeres.*
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4908 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-25 19:41:49 +00:00
Benno Schulenberg
0ae38b4ef8
Telling ncurses to really redraw the line, without optimization.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4907 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-23 20:24:31 +00:00
Benno Schulenberg
b19524f0d7
Updates from the TP for German and Ukrainian.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4906 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-22 20:41:34 +00:00
Benno Schulenberg
eb5c49d5bc
Painting the current line *after* tickling the terminal, so that
...
the character in the final column will be displayed properly.
Bug was introduced five days ago. Patch by Mark Majeres.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4905 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-19 20:44:24 +00:00
Benno Schulenberg
8491c2251b
Adding an example of a default syntax.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4904 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-18 10:34:18 +00:00
Benno Schulenberg
277701f530
Not matching the ^ anchor when looking further on in a line.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4903 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-18 10:16:07 +00:00
Benno Schulenberg
3be5f461f7
Not skipping the colour-off commands at the end of the colouring loop.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4902 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-17 20:25:42 +00:00
Benno Schulenberg
c7b0e54690
Adding syntax colouring for JSON files.
...
New file, originally from Aapo Rantalainen,
but heavily edited, extended, and improved.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4901 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-17 11:44:35 +00:00
Benno Schulenberg
9af4751dcb
Updates from the TP for Vietnamese, Finnish, Dutch, French, and Esperanto.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4900 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-16 20:36:45 +00:00
Benno Schulenberg
fe9da9425e
Partially harmonizing the syntax-colouring files.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4899 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-16 20:21:34 +00:00
Benno Schulenberg
1028d65aa9
Making the component colouring simpler, and the URI colouring completer,
...
and improving the comments -- all for apt's sources list.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4898 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-16 20:13:02 +00:00
Benno Schulenberg
3edcfd283b
Showing trailing whitespace on added lines in patches and diffs.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4897 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-16 11:08:52 +00:00
Benno Schulenberg
52e3533e99
Removing a few more doubled-up spaces.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4896 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-16 11:03:04 +00:00
Benno Schulenberg
5298d5114c
Removing an unneeded call of edit_refresh(), and
...
using 'size_t' instead of 'int' for line lengths.
Patch by David Lawrence Ramsey.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4895 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-16 10:50:01 +00:00
Benno Schulenberg
275bd28d3e
Tweaking some whitespace, using TRUE and FALSE instead of 1 and 0,
...
and mentioning the name of the terminal-tickling character (NBSP).
Patch by David Lawrence Ramsey.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4894 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-16 10:34:05 +00:00
Benno Schulenberg
6081546161
Going to the correct positions for undoing and redoing cuts and
...
pastes. This fixes many undo problems and Savannah bug #25585 .
*Patch by Mark Majeres.*
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4893 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-15 20:00:46 +00:00
Benno Schulenberg
4774ca645f
Adding texinfo.nanorc to the packing list.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4892 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-15 13:18:48 +00:00
Benno Schulenberg
eb91ad54ef
Improving two comments, and eliding a macro.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4891 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-15 13:11:55 +00:00
Benno Schulenberg
c5a2145b5a
Adjusting a comment, and being clearer about when to break.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4890 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-15 12:55:11 +00:00
Benno Schulenberg
275b617705
Improving the magic regex for C files, plus some tweaks.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4889 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-15 12:52:30 +00:00
Benno Schulenberg
230bd0d1df
Adding an example of colouring nano's interface elements.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4888 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 12:52:15 +00:00
Benno Schulenberg
4e5af833ad
Tiny Changelog tweaks.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4887 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 12:13:51 +00:00
Benno Schulenberg
e81a43fac4
Stopping the search when a magic matched.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4886 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 11:51:26 +00:00
Benno Schulenberg
5edd0411d6
Improving two magic regexes.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4885 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 11:16:40 +00:00
Benno Schulenberg
f304622af8
Opening the magic database only when actually going to use it,
...
and closing it afterward.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4884 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 10:29:55 +00:00
Benno Schulenberg
f9375267c7
Moving the magic check to after the headerline check.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4883 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 10:09:42 +00:00
Benno Schulenberg
ee4e67aa1f
Ehm... no, you can't do that.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4882 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 10:01:42 +00:00
Benno Schulenberg
f215603a10
Closing the libmagic file after use.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4881 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 09:44:19 +00:00
Benno Schulenberg
ef2cbb7f35
Improving debugging messages, and removing superfluous assignment.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4880 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 09:17:25 +00:00
Benno Schulenberg
dfc9a7edd8
Startling the terminal into handling wide, two-column characters properly.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4879 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-14 08:42:14 +00:00