- 28 Mar, 2018 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This allows a syntax to remove the color from things that were colored overeagerly by earlier regexes.
-
- 27 Mar, 2018 1 commit
-
-
Benno Schulenberg authored
-
- 25 Mar, 2018 4 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?53445.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 23 Mar, 2018 8 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, reshuffle a condition so it takes up less space.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This variable will be modified by go_forward_chunks(), but the value of openfile->current itself should be maintained.
-
Benno Schulenberg authored
An "if possible" would have been nice, but there is no room for that.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This will make the tiny version slightly smaller.
-
- 22 Mar, 2018 7 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This avoids eleven warnings of the kind "comparison between signed and unsigned integer expressions [-Wsign-compare]".
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
In the preceding commit, open_buffer() was changed so that it gets told whether to load into a new buffer or not, so it is no longer needed to convey this information through a flag.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 20 Mar, 2018 4 commits
-
-
Benno Schulenberg authored
And also prevent a theoretical crash for restricted prompt functions.
-
Kamil Dudka authored
This fixes a regression introduced by commit 54103d8e: a crash that can be triggered by running 'nano --restrict' and pressing <Insert>. This addresses https://bugzilla.redhat.com/1558532.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
When the file has just been read, it is in the state that it has on disk, so there is nothing to undo. This fixes https://savannah.gnu.org/bugs/?53387.
-
- 19 Mar, 2018 1 commit
-
-
Liu Hao authored
Signed-off-by:
Liu Hao <lh_mouse@126.com>
-
- 18 Mar, 2018 4 commits
-
-
Benno Schulenberg authored
When the cursor is on the first or last row of the edit window, and thus Scroll-Down or Scroll-Up would push it offscreen, first move the cursor away from the edge row and then scroll. This fixes https://savannah.gnu.org/bugs/?53376.
-
David Lawrence Ramsey authored
This avoids a bunch of warnings when compiled with -pedantic: ISO C forbids comparison of ‘void *’ with function pointer
-
Benno Schulenberg authored
-
Benno Schulenberg authored
As, since commit 0e30177d, the scrollup and scrolldown commands no longer intend to move the cursor, they should not be seen as movement functions. Also, it is not guaranteed that functions are ordered in the same way in the binary as in the source code, so an ordered comparison of function pointers will not always work. This fixes https://savannah.gnu.org/bugs/?53333.
-
- 17 Mar, 2018 5 commits
-
-
Benno Schulenberg authored
Reported-by:
Brand Huntsman <alpha@qzx.com>
-
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 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Make them smaller to make them sound less like shouting.
-