- 27 Nov, 2016 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also remove some unneeded prototypes, adjust some comments, and move a constant definition to the top of the file.
-
- 26 Nov, 2016 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also improve or correct some comments.
-
Benno Schulenberg authored
If it would, the returned file descriptor would make nano crash, because the corresponding stream has not been opened. And when returning zero instead (as the code did originally), nano would open an empty buffer, although it claims to be reading the file. In short: I think this is a leftover of an attempted fix of https://savannah.gnu.org/bugs/?25297, from commit 2823c99e.
-
Benno Schulenberg authored
That is: when --rebindkeypad is in effect -- without this option they were already getting distinguished.
-
Benno Schulenberg authored
Both would jump a word to the left -- now each jumps a word in the proper direction.
-
David Lawrence Ramsey authored
This fixes https://savannah.gnu.org/bugs/?49636.
-
- 17 Nov, 2016 2 commits
-
-
Benno Schulenberg authored
Kind-of-discovered-by:
Markus Bergholz <markuman@gmail.com>
-
Benno Schulenberg authored
Also when somehow key_defined() is missing. This fixes https://savannah.gnu.org/bugs/?49614 . Reported-by:
Mike Frysinger <vapier@gentoo.org>
-
- 13 Nov, 2016 3 commits
-
-
Benno Schulenberg authored
(Bug was introduced yesterday, by commit a4132e2e.)
-
Benno Schulenberg authored
Otherwise the user can override a 'set nowrap' in /etc/nanorc only via the command line. This fixes https://savannah.gnu.org/bugs/?49593 reported by Shirish.
-
Benno Schulenberg authored
This fixes the two bugs reported by Anton Minaev in https://savannah.gnu.org/bugs/?49511.
-
- 12 Nov, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?49530.
-
- 29 Oct, 2016 1 commit
-
-
Benno Schulenberg authored
Reported-by:
Sumedh Pendurkar <sumedh.pendurkar@gmail.com>
-
- 28 Oct, 2016 2 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?49467.
-
Benno Schulenberg authored
When giving a line number on the command line, do_gotolinecolumn() needs to know the width of the screen to be able to (roughly) place the target line in the center of the screen. This fixes https://savannah.gnu.org/bugs/?49462.
-
- 27 Oct, 2016 6 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?49423.
-
Benno Schulenberg authored
Also remove some cluttering conditional compilation.
-
Benno Schulenberg authored
Also, don't bother conditionalizing two booleans for the tiny version.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The nanorc option already exists, but not the corresponding one for the command line.
-
- 24 Oct, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?49428.
-
- 23 Oct, 2016 5 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This make tiny nano slightly less tiny, but makes the code more readable.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
It does not update anything -- it just picks a new point from where to start displaying the buffer. All actual updating of the screen is done by edit_refresh() and edit_redraw() and such.
-
- 21 Oct, 2016 4 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?49406.
-
Benno Schulenberg authored
There is no need to look at this for every painted line, because the margin can only change when some key is struck.
-
Benno Schulenberg authored
Instead of doing this in two places: after interpreting shortcuts, and after injecting characters.
-
Benno Schulenberg authored
To prevent the display from getting messed up, making nano unusable.
-
- 20 Oct, 2016 2 commits
-
-
Benno Schulenberg authored
-
Faissal Bensefia authored
It can be activated with --linenumbers on the command line or with 'set linenumbers' in a nanorc file, and it can be toggled with M-#. Signed-off-by:
Faissal Bensefia <faissaloo@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@justemail.net>
-
- 18 Oct, 2016 3 commits
-
-
Benno Schulenberg authored
Instead of figuring them out from the string. This is possible because those dedicated editing keys cannot be rebound anyway.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?49099, and fixes the unreported corresponding bugs for <End> and <Del> and typing extra characters.
-
Benno Schulenberg authored
So the softwrap code in do_down() can compute the correct amount to scroll. This fixes https://savannah.gnu.org/bugs/?49374.
-
- 15 Oct, 2016 1 commit
-
-
Benno Schulenberg authored
-