- 17 Mar, 2018 4 commits
-
-
Benno Schulenberg authored
-
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.
-
Benno Schulenberg authored
Instead of keeping the cursor in the same spot on the screen, let the cursor move with the text (whenever possible). This makes these functions behave the same as in Vim and Emacs.
-
- 12 Mar, 2018 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Make them smaller to make them sound less like shouting.
-
Benno Schulenberg authored
This kind of addresses https://savannah.gnu.org/bugs/?53310.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?53317 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 11 Mar, 2018 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?53269 . Reported-by:
Ashish Kunwar <dorkerdevil280@gmail.com> The leak was mistakenly introduced by commit dc3618a1 -- probably as a leftover of testing things.
-
- 10 Mar, 2018 1 commit
-
-
Benno Schulenberg authored
And adjust the comments accordingly.
-
- 09 Mar, 2018 1 commit
-
-
Benno Schulenberg authored
Help texts are shown without any line numbers, so the full width of the screen should be used to display the text. This fixes https://savannah.gnu.org/bugs/?53308.
-
- 08 Mar, 2018 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 06 Mar, 2018 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 05 Mar, 2018 8 commits
-
-
Brand Huntsman authored
Signed-off-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
First the two that add something (ADD, ENTER), then the three that delete something (BACK, DEL, JOIN), and then the one that changes something (REPLACE). Then the SPLITs, CUT, PASTE, and INSERT, and then the INDENTs and COMMENTs, when they exist.
-
Benno Schulenberg authored
-
- 04 Mar, 2018 1 commit
-
-
Benno Schulenberg authored
For cuts, pastes, and inserts, the lines have already been renumbered; for indents, comments, and replacements, the line numbers cannot have changed. (And anyway, variable 'f' is not set for those cases.) Only when lines get split (ENTER) or fused together (JOIN) do the later lines need to be renumbered. This mirrors what is done for do_redo().
-
- 03 Mar, 2018 2 commits
-
-
Benno Schulenberg authored
The 'f' variable is used only in the ADD, BACK, DEL, ENTER, JOIN, and REPLACE undo/redo cases. So, avoid making a somewhat costly call when it is entirely superfluous. Rearrange the undo types to make checking for the above six types easier.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?53272.
-
- 01 Mar, 2018 5 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
On a Linux console, ^/ produces Backspace, making it unrebindable. This fixes https://savannah.gnu.org/bugs/?53248.
-
- 28 Feb, 2018 1 commit
-
-
Benno Schulenberg authored
-
- 27 Feb, 2018 7 commits
-
-
Benno Schulenberg authored
It is not a problem to say that ^X closes the current buffer even when nano is compiled without multibuffer support.
-
Benno Schulenberg authored
This assumes that all movement functions are located together, starting with to_first_line() and ending with do_right(). This fixes https://savannah.gnu.org/bugs/?53195 . Reported-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
As of commit c79fe1a1, the more readable ^/ has replaced ^_ as the advertised shortcut for Go-To-Line -- color it too as valid.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
To prevent getting kicked out of it. This fixes https://savannah.gnu.org/bugs/?53234.
-
Benno Schulenberg authored
The implant() function itself cannot be bound to anything, so it is not in the linked list of functions -- trying to find it would lead to a NULL pointer, and thus to a segfault. This fixes https://savannah.gnu.org/bugs/?53233.
-
Benno Schulenberg authored
Commit 0cf455bc introduced the typo.
-