- 11 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
There shouldn't be two separate variables (but with the same name) that count the number of digits seen. Fuse them into a single static var. This fixes https://savannah.gnu.org/bugs/?52863.
-
- 10 Jan, 2018 5 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Use the same method as in parse_verbatim_kbinput() for Unicode input.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 09 Jan, 2018 7 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, when replacing forwards, do not first skip the occurrence at the cursor and then replace it at the end of the cycle, but begin with it, as one would expect. This fixes https://savannah.gnu.org/bugs/?52789 and fixes https://savannah.gnu.org/bugs/?52791.
-
Benno Schulenberg authored
The tabsize can vary by configuring editor or viewer, but the text has some kind of intended alignment. Also, change the indentation a bit, to make things line up more neatly.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
These three functions are needed only when both linter and speller are available.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52834. Reported-by: <akiko@mailbox.org>
-
Benno Schulenberg authored
If help is enabled, those functions should be described too, and if nanorc is enabled, they should both be rebindable.
-
- 08 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
-
- 06 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
Reported-by:
Tom Levy <tomlevy93@gmail.com>
-
- 02 Jan, 2018 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 01 Jan, 2018 7 commits
-
-
Benno Schulenberg authored
The anchored "^texture" appears to have been a mistake. Inspired-by:
Tom Levy <tomlevy93@gmail.com>
-
Tom Levy authored
Signed-off-by:
Tom Levy <tomlevy93@gmail.com>
-
Tom Levy authored
The fragment "\<\." can never match anything because \< matches the beginning of a word but "." is not a word character. Replace \< with \B (the empty string not at the edge of a word). Signed-off-by:
Tom Levy <tomlevy93@gmail.com>
-
Benno Schulenberg authored
Also remove some redundant backslashes and parentheses.
-
Tom Levy authored
The list now includes all the Lua 5.3 functions listed on https://www.lua.org/manual/5.3/#index . Also, remove the coloring of just the library name, so that only known library functions get highlighted. Signed-off-by:
Tom Levy <tomlevy93@gmail.com>
-
Tom Levy authored
As of Lua 5.2: "Hexadecimal constants also accept an optional fractional part plus an optional binary exponent, marked by a letter 'p' or 'P'" (see at the end of https://www.lua.org/manual/5.2/manual.html#3.1). The new regexes do not match a leading nor a trailing dot, but they are good enough. Discussion on the mailing list: https://lists.gnu.org/archive/html/nano-devel/2017-12/msg00121.html Signed-off-by:
Tom Levy <tomlevy93@gmail.com>
-
Tom Levy authored
Since a "0x" by itself is invalid. Also add word boundaries, so that e.g. "00x1" (which is invalid) does not get partial highlighting. Also remove some redundant backslashes from the strings regex. Signed-off-by:
Tom Levy <tomlevy93@gmail.com>
-
- 31 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 30 Dec, 2017 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
To keep the blocks of text more-or-less aligned.
-
- 29 Dec, 2017 5 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Each leading tab is converted to two tabs, and any leading four spaces is converted to one tab. The intended tab size (for keeping most lines within 80 columns) is now four.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52755 . Reported-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
When unindenting/uncommenting affected the bottom line of the marked region, keep affecting this line also during subsequent consecutive indenting/commenting. This fixes https://savannah.gnu.org/bugs/?52718.
-
- 28 Dec, 2017 1 commit
-
-
Tom Levy authored
Functions such as "io.close" should only be highlighted when the package name ("io") is a word by itself, otherwise code such as "fooio.close" gets unexpected partial highlighting. Signed-off-by:
Tom Levy <tomlevy93@gmail.com>
-
- 26 Dec, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
So that Commenting comes closer to the somewhat related Indenting and Unindenting functions.
-
Benno Schulenberg authored
-