Chris Allegretta
af6dd93510
Backport r5355 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5416 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:48:56 +00:00
Chris Allegretta
0e3472b107
Backport r5353 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5415 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:47:43 +00:00
Chris Allegretta
1e54399e0c
Backport r5352 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5414 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:47:11 +00:00
Chris Allegretta
c678216770
Backport r5347 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:46:03 +00:00
Chris Allegretta
39fca79b21
Backport of r5338 - r5340 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5412 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:43:54 +00:00
Chris Allegretta
102bfed4b4
Backport r5335 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5411 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:42:19 +00:00
Chris Allegretta
3af52152a8
Backport r5326 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5410 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:39:14 +00:00
Chris Allegretta
ca0298eefb
Backport r5316 and r5319 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:35:13 +00:00
Chris Allegretta
673f7367c0
Backport of r5304 and r5307 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5408 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:28:19 +00:00
Chris Allegretta
9f613bc739
Backport r5287 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5407 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:10:04 +00:00
Chris Allegretta
55a2133817
Backport of r5282 from trunk.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5406 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-11-15 06:07:15 +00:00
Chris Allegretta
b4d9501013
Create 2.4 branch
...
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_4_branch@5279 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-07-05 07:59:50 +00:00
Benno Schulenberg
b60f555843
Recognizing several more kinds of XML files.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5276 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-28 18:15:41 +00:00
Benno Schulenberg
953ccc990f
Unwrapping some lines, rewrapping some others more logically,
...
plus several other esthetic tweaks.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5275 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-28 14:12:25 +00:00
Benno Schulenberg
296ff1ed2a
Not checking again for a condition that was checked before.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5274 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-28 14:04:03 +00:00
Benno Schulenberg
6062a040e1
Limiting the selected file to the available ones in the list.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5273 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-28 06:32:56 +00:00
Benno Schulenberg
954f98c448
Removing a duplicate binding of ^T, to prevent it being shown twice.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5272 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-27 15:58:20 +00:00
Benno Schulenberg
076fcbf631
Removing the obsolete execute flag from the shortcut struct.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5271 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-27 15:47:39 +00:00
Benno Schulenberg
38e8ed14ca
Normalizing the whitespace and some comments in src/files.c.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5270 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-27 15:10:58 +00:00
Benno Schulenberg
ecffb85656
Forgetting the case of an empty filename for replace_buffer(),
...
and not bothering to put the pointer at the top.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5269 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-27 15:03:45 +00:00
Benno Schulenberg
f0bb50306c
Renaming three flags for clarity.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5268 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-27 09:27:19 +00:00
Benno Schulenberg
412b9fc0a2
Skipping the undo of a backspace *only* when it really
...
tried to delete the final, magic newline.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5267 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-27 09:17:36 +00:00
Benno Schulenberg
75ac24b25e
Verifying that there exists multidata for the found starting line
...
before trying to use this multidata -- when a file is inserted, all
its lines will not have any multidata associated with them.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5266 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-23 18:06:30 +00:00
Benno Schulenberg
4499520c03
Removing the obsolete long option --undo, and sorting some things.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5265 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-20 18:48:43 +00:00
Benno Schulenberg
7f0003a54b
Adding a bug reference.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5264 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-20 12:53:27 +00:00
Benno Schulenberg
57f52a8a20
Reverting the last commit, as it is making things worse:
...
backspacing at the tail of the file no longer has any efffect.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5263 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-20 09:42:26 +00:00
Benno Schulenberg
e219bb9dba
Not deleting the magic line, instead of removing and then re-adding it.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5262 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-20 09:00:22 +00:00
Benno Schulenberg
4310139117
Stopping the changed-files colour from spilling beyond an empty line.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5261 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-20 08:44:31 +00:00
Benno Schulenberg
11fa458677
Colouring key-binding lines in a nanorc file affirmatively
...
only when the specified menu name is an existing one.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5260 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-20 08:31:27 +00:00
Benno Schulenberg
e06472a249
Keeping homedir NULL when no home directory could be determined,
...
so that nano will show a message about it.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5259 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-20 08:21:35 +00:00
Benno Schulenberg
a267699440
Making M-W work also right after startup.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5258 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-20 08:10:25 +00:00
Benno Schulenberg
025553769e
Deleting two unused things, and adding two comments.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5257 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-18 19:07:56 +00:00
Benno Schulenberg
7c2f53b2a9
Allowing a tiny nano to enable search and position histories.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5256 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-18 18:51:27 +00:00
Benno Schulenberg
3021a04c1c
Improving the visibility of the undo-related debugging messages.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5255 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-17 15:17:09 +00:00
Benno Schulenberg
86cbd959f6
Renaming the parameter 'current_action' to 'action',
...
in order to match the other functions.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5254 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-17 11:18:20 +00:00
Benno Schulenberg
ef2593695d
Oops! Misplaced a closing parenthesis.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5253 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-17 11:12:42 +00:00
Benno Schulenberg
6404101407
Eliding an unneeded variable and correcting two comments.
...
And putting the more frequent condition first.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5252 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-17 10:59:16 +00:00
Benno Schulenberg
67667af233
Adjusting whitespace after the previous change.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5251 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-17 10:47:00 +00:00
Benno Schulenberg
82373d85f9
Preventing the addition of an extra newline when undoing a Backspace or Delete
...
at the tail of the file while nonewlines is not set.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5250 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-17 10:41:57 +00:00
Benno Schulenberg
c32a58a826
Not checking for non-NULL before freeing a variable, as it's unnecessary.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5249 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-14 19:14:41 +00:00
Benno Schulenberg
26ae9dbd12
Not bothering to look for any starting matches on the current line
...
when the whole line has already been coloured.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5248 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-14 18:06:36 +00:00
Benno Schulenberg
d49c267f91
Skipping to the next step when a found start has been qualified as
...
an end earlier. This helps with Python's triple-quoted strings.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5247 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-14 17:56:44 +00:00
Benno Schulenberg
2e121fa08c
Adding some debugging code to track which multidata codes get assigned.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5246 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-14 15:58:57 +00:00
Benno Schulenberg
e00b3e8587
Making it easy to see what codes a key stroke produces when debugging.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5245 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-11 19:01:28 +00:00
Benno Schulenberg
87e963a2c7
Adding a section to the man page on the non-obvious functioning of
...
the cutbuffer and the mark.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5244 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-07 20:14:41 +00:00
Benno Schulenberg
74ac8ce407
Clarifying the meaning of the --backupdir option.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5243 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-07 18:45:34 +00:00
Benno Schulenberg
f87de12b96
Improving some formatting, hyphenation, wording and dashes.
...
And removing some confusing, historical text.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5242 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-07 16:45:09 +00:00
Benno Schulenberg
1a3fa549a9
Showing the node with the command-line options in the main menu.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5241 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-07 10:02:31 +00:00
Benno Schulenberg
0424243e3c
Adding the post-install and pre-uninstall rules for the Info document,
...
plus some tweaks. (Patch was tested by Kamil Dudka.)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5240 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-04 18:05:27 +00:00
Benno Schulenberg
a1c4da8b04
Fixing compilation with --enable-tiny.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5239 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2015-06-04 17:59:50 +00:00