- 04 Feb, 2018 2 commits
-
-
Benno Schulenberg authored
This brings it in line with the other three "flip" toggles.
-
Benno Schulenberg authored
-
- 24 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
And one for me, for the much changed keyboard stuff.
-
- 15 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
When we're just searching, we do want to report the occurrence at the cursor (after coming full circle) as a match, so that we can mention that this is the only occurrence. When replacing, we do not want to replace this match twice. This fixes https://savannah.gnu.org/bugs/?52888.
-
- 09 Jan, 2018 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, when replacing forwards, do not first skip the occurrence at the cursor and then replace it at the end of the cycle, but begin with it, as one would expect. This fixes https://savannah.gnu.org/bugs/?52789 and fixes https://savannah.gnu.org/bugs/?52791.
-
- 29 Dec, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Each leading tab is converted to two tabs, and any leading four spaces is converted to one tab. The intended tab size (for keeping most lines within 80 columns) is now four.
-
Benno Schulenberg authored
-
- 21 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The pointer not being NULL is enough indication that the mark is set. Also, rename the pointer from 'mark_begin' to simply 'mark', since the former is kind of pleonastic.
-
- 13 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
When there are no help lines, there won't be any call to update the actual contents of the bottom window, so... do it immediately after blanking the row. This fixes https://savannah.gnu.org/bugs/?52377.
-
- 12 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 07 Nov, 2017 1 commit
-
-
David Lawrence Ramsey authored
Also, properly refer to numreplaced as signed, since it's ssize_t (even though it's only shown when positive).
-
- 01 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 31 Oct, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 29 Oct, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
In the tiny version, do_prompt() will now have an extra NULL parameter, which will cost maybe twenty extra bytes of code. That is acceptable when it saves thirty lines in the source.
-
- 26 Oct, 2017 2 commits
-
-
Benno Schulenberg authored
This completes the fix for https://savannah.gnu.org/bugs/?52282 . Reported-by:
Chime Hart <chime@hubert-humphrey.com>
-
Benno Schulenberg authored
After any replacements were made, the "not found" message is pointless because it will be overwritten rightaway by "Replaced xx occurrences". The message is confusing and annoying when using speech output. This partially fixes https://savannah.gnu.org/bugs/?52282 . Reported-by:
Chime Hart <chime@hubert-humphrey.com>
-
- 19 Oct, 2017 1 commit
-
-
David Lawrence Ramsey authored
Most people who make use of 'do_findprevious' and 'do_findnext' will not make use of 'do_search' (the default binding of M-W), so for them it is superfluous to remember the state of the Backwards toggle in the Search menu. For the people that do mix the usage of Alt+Up/Down with M-W, it means that M-W will always search in the same direction as the last search. It is a small change in behavior.
-
- 14 Oct, 2017 1 commit
-
-
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 2 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.
-
- 17 Sep, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 14 Sep, 2017 1 commit
-
-
Marco Diego Aurélio Mesquita authored
Signed-off-by:
Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
-
- 18 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 06 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
Without them, nano still compiles for me, with everything enabled, even when using --enable-debug, --enable-utf8, and --with-slang.
-
- 18 Jul, 2017 1 commit
-
-
Benno Schulenberg authored
When not using --smooth (nor 'set smooth'), and a line near or beyond the end-of-file is addressed with the + command-line argument, then center the cursor, just like Pico does -- so in the default mode, nano is again more like Pico. This partially addresses https://savannah.gnu.org/bugs/?51489.
-
- 09 Jul, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 07 Jul, 2017 2 commits
-
-
David Lawrence Ramsey authored
spotlight() now displays softwrapped lines chunk by chunk instead of all at once. Since softwrapped lines are no longer of constant width, the latter approach would fail if softwrapping breaks the spotlighted text. Instead of taking a string, spotlight() now takes the starting and ending columns of that string. Also, its handling of softwrapped lines is now split off into a separate function, spotlight_softwrapped().
-
David Lawrence Ramsey authored
get_chunk_row() replaces the formula "column / editwincols". get_chunk_leftedge() replaces "(column / editwincols) * editwincols". get_last_chunk_row() replaces "strlenpt() / editwincols". get_last_chunk_leftedge() replaces "(strlenpt() / editwincols) * editwincols". This prepares us for any changes in those formulas, and for more such functions later.
-
- 23 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
They can be given at the prompt, so it's better to accept them on the command line too.
-
- 04 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 29 May, 2017 1 commit
-
-
Benno Schulenberg authored
Achieve this by making the suppression flag global, so that we can just reset it instead of making an improper call of do_cursorpos(). This fixes the secondary part of https://savannah.gnu.org/bugs/?51134.
-
- 11 May, 2017 1 commit
-
-
Benno Schulenberg authored
When the column given in gotoline() is beyond the last available column in the row of the last chunk, then set placewewant to the actual end of the chunk, to prevent surprising jumps to the left when moving up or down from there. This fixes https://savannah.gnu.org/bugs/?50995.
-
- 09 May, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 08 May, 2017 1 commit
-
-
Benno Schulenberg authored
Also remove a superfluous check for 'do_replace' -- it never gets bound in the Search/Replace menus.
-
- 03 May, 2017 1 commit
-
-
Benno Schulenberg authored
And hide the cursor again as soon as the user scrolls. Achieve this through making the 'didfind' variable global. Also, remove a superfluous call of wnoutrefresh(), as bottombars() already does that. This fixes https://savannah.gnu.org/bugs/?50918 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-