- 25 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
Also, remove angle-bracketed "strings" -- they don't exist.
-
Benno Schulenberg authored
Also, remove the coloring of special single-quoted strings as they get recolored by the subsequent general string-coloring command. And remove the coloring of all-uppercase words, as other editors do not color those either.
-
Benno Schulenberg authored
Either by whitespace or by the start of a line. This avoids treating part of a URL as a comment.
-
Mike Frysinger authored
-
- 24 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
They were mistakenly added by changeset fb85c055, four commits ago.
-
Benno Schulenberg authored
-
- 23 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52717.
-
- 21 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
Suggested-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
-
Benno Schulenberg authored
If the marked region ends at the start of a line, do not include that line in the indenting/undenting or commenting/uncommenting. This is closer to what the eye would expect.
-
Benno Schulenberg authored
-
- 19 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
Unset the "Modified" marker only at the point where the file was last saved -- if there is such a point, because it can be missing when the undo stack was discarded. This fixes https://savannah.gnu.org/bugs/?52689 . Reported-by:
Liu Hao <lh_mouse@126.com> Original-idea-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
When doing that, there is no need to save and restore the Modified state when writing a marked region.
-
- 17 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52651 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
The escape sequence "Esc [ Z" is a backtab on most supported terminals, so make sure convert_sequence() treats it as such.
-
- 16 Dec, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The function get_keycode() should never return zero -- it should return either the code from ncurses or the given fallback code. This fixes https://savannah.gnu.org/bugs/?52682.
-
Benno Schulenberg authored
-
- 12 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
To achieve that, fake the Shift key being held when indenting/ unindenting/commenting/uncommenting. Reported-by:
Brand Huntsman <alpha@qzx.com>
-
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.
-