- 15 Oct, 2017 1 commit
-
-
Marco Diego Aurélio Mesquita authored
Allow the user to record and run a single macro. The default binding for starting and stopping the recording is M-: (Alt + colon) and for running the macro M-; (Alt + semicolon). This fulfills https://savannah.gnu.org/bugs/?50314 . Requested-by:
Peter Passchier <peter@passchier.net> Signed-off-by:
Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
- 04 Oct, 2017 2 commits
-
-
Benno Schulenberg authored
This also removes a call of ungetch(), as it does not seem to be needed any more: nano does not lose a character when waking from suspension.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52149 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 26 Sep, 2017 4 commits
-
-
Benno Schulenberg authored
Inspired-by:
Mike Frysinger <vapier@gentoo.org> This kind of addresses https://savannah.gnu.org/bugs/?51685.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
In atblanks mode, if a softwrapped chunk ends with a double-width space character (say, Unicode 003000, Ideographic Space), and that would put half of the character past the edge of the screen, break before it. This fixes https://savannah.gnu.org/bugs/?51671.
-
- 22 Sep, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 20 Sep, 2017 1 commit
-
-
Benno Schulenberg authored
The basic idea is that the cursor is always off, except when it needs to be on: when waiting for text input, and in a few other cases: when something was searched and found in the help viewer, and in the file browser when option -g is in effect. This fixes https://savannah.gnu.org/bugs/?51923 . Reported-by:
Mike Frysinger <vapier@gentoo.org>
-
- 13 Sep, 2017 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
When multiple files were open and [x/n] was being shown in the title bar, don't show nano's name and version number when just one buffer remains open, but show [1/1] instead. It is less surprising.
-
Marco Diego Aurélio Mesquita authored
When multiple buffers are open, replace nano's name and version number with an indication how many buffers are open preceded by the sequence number of the current buffer. Signed-off-by:
Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
- 02 Sep, 2017 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?51918.
-
- 31 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
And use these constants in another context too.
-
- 26 Aug, 2017 1 commit
-
-
David Lawrence Ramsey authored
Don't skip rows that contain something when moving up, and do put the cursor in the desired column whenever possible when moving down. This fixes http://savannah.gnu.org/bugs/?51827 and fixes http://savannah.gnu.org/bugs/?51828.
-
- 20 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?51802.
-
- 19 Aug, 2017 1 commit
-
-
David Lawrence Ramsey authored
Check the column number, not the character index, when suppressing the line number on chunks other than the first, since the index can be zero when in fact we're on a later chunk. This fixes https://savannah.gnu.org/bugs/index.php?51790.
-
- 18 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 17 Aug, 2017 3 commits
-
-
David Lawrence Ramsey authored
Regardless of whether the row start is at a multiple of the tab size. This completes the fix for https://savannah.gnu.org/bugs/?51669.
-
David Lawrence Ramsey authored
This fixes https://savannah.gnu.org/bugs/?51770, and fixes https://savannah.gnu.org/bugs/?51768 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
Benno Schulenberg authored
This is a partial fix for https://savannah.gnu.org/bugs/?51770 . Analysis-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 14 Aug, 2017 4 commits
-
-
David Lawrence Ramsey authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?51669 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
Benno Schulenberg authored
So that these functions have bindings by default, and easy bindings. Add them to the help viewer too, so that searching backward becomes possible there.
-
Urja Rannikko authored
This also fixes https://savannah.gnu.org/bugs/?51735 . Reported-by:
Urja Rannikko <urjaman@gmail.com> Signed-off-by:
Urja Rannikko <urjaman@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
- 13 Aug, 2017 1 commit
-
-
David Lawrence Ramsey authored
Tabs are of variable length depending on position, so allow them to be displayed partially on one chunk and partially on another. This fixes http://savannah.gnu.org/bugs/?51621.
-
- 10 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 08 Aug, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Discarding (in commit 6f9bb53b) the cap on the number of chunks to move backwards had as an unforeseen side effect that the screen can fail to scroll when the cursor is somehow pushed offscreen. Fix this by setting the target row (for smooth scrolling) always to the bottom row of the edit window when nano notices that the cursor has gone offscreen. This fixes https://savannah.gnu.org/bugs/?51676 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 06 Aug, 2017 3 commits
-
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
The new option 'set selectedcolor' applies to marked text, to the currently selected file in the file browser, and to the highlighted match during interactive search-and-replace.
-
Benno Schulenberg authored
Without them, nano still compiles for me, with everything enabled, even when using --enable-debug, --enable-utf8, and --with-slang.
-
- 31 Jul, 2017 1 commit
-
-
David Lawrence Ramsey authored
-
- 24 Jul, 2017 1 commit
-
-
David Lawrence Ramsey authored
Commit 28beb3f9 added the 'forreal' parameter to prevent spotlight() from placing the cursor wrongly due to an invalid placewewant. However, since the variable-width softwrap overhaul (specifically, since commit 8490f4ac), place_the_cursor() no longer checks placewewant, so the parameter is no longer needed. Furthermore, dropping 'forreal' and thus always setting current_y won't affect the operation of spotlight(), since the only functions that use spotlight() (do_replace_loop() and do_int_spell_fix()) both call edit_refresh() beforehand, which means that current_y will already have been set to the value it will be set to again.
-
- 23 Jul, 2017 1 commit
-
-
David Lawrence Ramsey authored
The function place_the_cursor() assumes that the viewport is up to date, i.e., that current is in range of edittop. When uncutting or inserting, however, place_the_cursor() gets called on the out-of-date viewport first, and then a screen refresh is scheduled (which would put the viewport up to date). This is backwards: the refresh should come before the cursor placement, and the only reason it works anyway is because the cap on the number of chunks to move backward papers over the problem by keeping current_y in screen range regardless. Fix this properly by simply setting current_y to the bottom row of the screen instead of calling place_the_cursor(). This value of current_y is only ever used when in smooth scrolling mode and the insertion (or paste) pushed the cursor offscreen. In other situations, this value is overridden when place_the_cursor() gets called after a screen refresh. After that fix, the cap on the number of chunks to move backward is no longer needed.
-
- 20 Jul, 2017 1 commit
-
-
David Lawrence Ramsey authored
A line can only be partially offscreen when doing softwrapping.
-