- 22 Mar, 2018 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 20 Mar, 2018 1 commit
-
-
Benno Schulenberg authored
And also prevent a theoretical crash for restricted prompt functions.
-
- 17 Mar, 2018 2 commits
-
-
Benno Schulenberg authored
When just scrolling and the cursor does not need to change position (that is: it is not on the first or last row of the edit window), then edit_scroll() has handled everything and there is no need to additionally redraw anything or update 'placewewant'.
-
Benno Schulenberg authored
Also, rename a parameter and invert its logic.
-
- 10 Mar, 2018 1 commit
-
-
Benno Schulenberg authored
And adjust the comments accordingly.
-
- 05 Mar, 2018 1 commit
-
-
Benno Schulenberg authored
-
- 27 Feb, 2018 1 commit
-
-
Benno Schulenberg authored
-
- 04 Feb, 2018 4 commits
-
-
Benno Schulenberg authored
Instead of weaving back and forth between do_search()/do_replace() and search_init() every time that one of the options is toggled, just keep looping in the latter function until the user presses <Enter>. The weaving for the do_gotolinecolumn() function remains, but is shortened to involve only search_init().
-
Benno Schulenberg authored
-
Benno Schulenberg authored
In this way a single keystroke can produce a fragment of text or a series of commands, or a mix of the two. It is like a prerecorded macro. This fulfills https://savannah.gnu.org/bugs/?52931.
-
Benno Schulenberg authored
This brings it in line with the other three "flip" toggles.
-
- 27 Jan, 2018 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 24 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
And one for me, for the much changed keyboard stuff.
-
- 15 Jan, 2018 2 commits
-
-
Benno Schulenberg authored
Also remove an unneeded nulling.
-
Brand Huntsman authored
When the palette is getting initialized, it is too late to send any error messages about the rcfile options to standard error. This fixes https://savannah.gnu.org/bugs/?52871 . Reported-by:
Brand Huntsman <alpha@qzx.com> Signed-off-by:
Brand Huntsman <alpha@qzx.com>
-
- 10 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
-
- 29 Dec, 2017 3 commits
-
-
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
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.
-
- 26 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 24 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 23 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 21 Dec, 2017 3 commits
-
-
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
-
- 10 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 03 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
To get rid of two double negatives.
-
- 27 Nov, 2017 1 commit
-
-
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 1 commit
-
-
Benno Schulenberg authored
-
- 20 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
While doing that, move the affected function to the utils.c file and tweak it a bit. This fixes https://savannah.gnu.org/bugs/?52468.
-
- 11 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 08 Nov, 2017 1 commit
-
-
Brand Huntsman authored
Whenever a buffer is closed, check whether the positions file on disk was modified, and if so, reload it. Then update the position for the closed buffer and write out the positions file to disk. Signed-off-by:
Brand Huntsman <alpha@qzx.com> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
- 04 Nov, 2017 1 commit
-
-
Simon Ochsenreither authored
When not finding a .nanorc file in the user's home directory, nano will look for a nanorc file in $XDG_CONFIG_HOME and in the ~/.config/nano/ fallback directory. And when not finding a .nano/ subdir in the user's home directory, nano will look for (or create) the history files in $XDG_DATA_HOME or in the ~/.local/share/nano/ fallback directory. This is a partial implementation of the XDG Base Directory Specification: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html , for the purpose of reducing the clutter in a user's home directory, and to make it easier to back up just the configuration files. Signed-off-by:
Simon Ochsenreither <simon@ochsenreither.de> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
- 02 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
Suggested-by:
Brand Huntsman <alpha@qzx.com>
-
- 01 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 31 Oct, 2017 1 commit
-
-
Benno Schulenberg authored
-