- 12 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
When the mark is on, instead of letting a <Tab> simply insert a Tab character at the cursor position, let it indent the marked region. Original-idea-by:
Chris Allegretta <chrisa@asty.org>
-
- 11 Dec, 2017 2 commits
-
-
Michael Francis authored
Reference: http://php.net/manual/en/language.variables.basics.php Also color keywords differently from strings. Signed-off-by:
Michael Francis <mikefrancis95@gmail.com>
-
Benno Schulenberg authored
-
- 10 Dec, 2017 5 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Make both preceding character moves include the terminating byte.
-
Benno Schulenberg authored
The character move has already copied the terminating byte. And a reallocation to save just one character of memory is a waste of time.
-
Benno Schulenberg authored
And increase the contrast for the reminders, both for PO and Python.
-
Benjamin Mintz authored
A list of keywords can be obtained from `keyword.kwlist`. Signed-off-by:
Benjamin Mintz <bmintz@protonmail.com>
-
- 09 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
And also allow it when lines are only partially indented. This makes it possible to equalize the indentations of (accidentally) unevenly indented lines: by first fully unindenting a group of lines, and then reindenting them to the desired amount. Suggested-by:
Liu Hao <lh_mouse@126.com>
-
Liu Hao authored
Bright white on yellow stands out much more than grey on yellow. Signed-off-by:
Liu Hao <lh_mouse@126.com>
-
- 07 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
In this way we can delete things on the current line with ^K (after Shift-selecting some text) without nano misdetecting a line change, This fully fixes https://savannah.gnu.org/bugs/?52576.
-
Benno Schulenberg authored
Only when the cursor has moved off of the currrent line do we stop prepending wrapped words to the next line. This partially fixes https://savannah.gnu.org/bugs/?52576.
-
- 06 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
The option now causes nano to trim trailing whitespace also when hardwrapping occurs while the user is typing.
-
Benno Schulenberg authored
This fulfills https://savannah.gnu.org/bugs/?52198.
-
- 03 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
To get rid of two double negatives.
-
Benno Schulenberg authored
It's better to color some invalid things as if valid than the other way around. So, as strings can validly contain any number of double quotes, just accept *anything* between the delimiting double quotes and demand that the closing quote is followed by whitespace or EOL.
-
- 02 Dec, 2017 5 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The call of do_delete() four lines earlier already does a renumber.
-
Benno Schulenberg authored
When the WAS_FINAL_LINE flag is relevant (when NO_NEWLINES isn't set), the only way for 'current' to be equal to 'filebot' is when 'current_x' is zero.
-
- 30 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
This addresses https://savannah.gnu.org/bugs/?52546 . Reported-by:
Marius Schamschula <mschamschula@gmail.com>
-
David Lawrence Ramsey authored
This fixes http://savannah.gnu.org/bugs/?52523.
-
- 27 Nov, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
When some or all edits have been undone, and the user starts to make new edits, the old part of the undo stack is discarded, but this does not mean that the undo stack doesn't go back to the very beginning. This really fixes https://savannah.gnu.org/bugs/?52504.
-
- 26 Nov, 2017 8 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52519.
-
Benno Schulenberg authored
This also means that no question needs to be asked when exiting. This fixes https://savannah.gnu.org/bugs/?52504 . Reported-by:
Peter Passchier <peter@passchier.net>
-
Benno Schulenberg authored
-
Benno Schulenberg authored
On a freshly installed system, or for a new user, the default XDG data directory may not exist yet. So, create it when not. Reported-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
Otherwise a second justification will cancel it, which is weird.
-
Benno Schulenberg authored
The softmark is now only cancelled when the cursor is moved without Shift being held, not for things like ^L (Refresh), ^C (Position), or ^G (Help). This addresses https://savannah.gnu.org/bugs/?52470.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
When a file is closed with the cursor on line 1, column 1, this position is not recorded in file-positions history file -- if a record for the file existed, it is deleted. In the latter case the history file needs to be saved, so that other instances of nano will know about the deletion. This fixes https://savannah.gnu.org/bugs/?52505.
-
- 23 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 22 Nov, 2017 3 commits
-
-
Benno Schulenberg authored
Otherwise we would overwrite the current file with just the selection. This fixes https://savannah.gnu.org/bugs/?52482.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 21 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The pointer not being NULL is enough indication that the mark is set. Also, rename the pointer from 'mark_begin' to simply 'mark', since the former is kind of pleonastic.
-