- 22 Sep, 2017 2 commits
-
-
Benno Schulenberg authored
Simply redraw the browser screen upon every keystroke when --showcursor is in effect, to be certain that the cursor will be placed again at the correct spot. This fixes https://savannah.gnu.org/bugs/?52078 and fixes https://savannah.gnu.org/bugs/?52079 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
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>
-
- 19 Sep, 2017 4 commits
-
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
When reducing the search string to at most half the screen width, it should employ its width in columns, not its length in bytes. Also adjust the type of a variable. This fixes http://savannah.gnu.org/bugs/?52057.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52060 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 17 Sep, 2017 13 commits
-
-
Benno Schulenberg authored
So that it is not a substring of some other name.
-
Benno Schulenberg authored
The functions to read and write history files will not even be called when the home directory is missing, so there is no need to check for that eventuality again.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
When history has changed, not all three listst can be empty.
-
Benno Schulenberg authored
Populating the search, replace, and execute lists makes use of the function update_history() which sets history_changed to TRUE, which meant that the search_history file would always get written even if nothing had changed.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Marco Diego Aurélio Mesquita authored
Signed-off-by:
Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
-
- 15 Sep, 2017 1 commit
-
-
David Lawrence Ramsey authored
This fixes http://savannah.gnu.org/bugs/?52042 . Reported-by:
Mike Frysinger <vapier@gentoo.org>
-
- 14 Sep, 2017 1 commit
-
-
Marco Diego Aurélio Mesquita authored
Signed-off-by:
Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
-
- 13 Sep, 2017 7 commits
-
-
Benno Schulenberg authored
-
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>
-
- 12 Sep, 2017 4 commits
-
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
This is no longer accurate.
-
David Lawrence Ramsey authored
This is modeled after the comment/uncomment code. Each line's individual indent is saved in the string array of the undo group structure. This fixes http://savannah.gnu.org/bugs/?46860.
-
David Lawrence Ramsey authored
The function does not contain any comment-specific code, so it can be used to handle any kind of multiline undo item. Also, extend the undo group structure to contain an array of strings, one for each line in the group. When indent/unindent is hooked up to the undo/redo code, this will allow the latter to restore the exact original indents.
-
- 10 Sep, 2017 5 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, remove an unneeded null_at() -- the null byte has been copied, and reallocating the string would recover very little memory. Also, call charmove() without using the & operator.
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
-
David Lawrence Ramsey authored
This is modeled after the undo/redo code for commenting. do_indent() now calls indent_a_line() on each line it covers. The latter function will eventually be used by the undo/redo code.
-
- 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.
-