- 27 Feb, 2017 2 commits
-
-
Benno Schulenberg authored
Also, avoid a warning with with --enable-tiny --enable-browser.
-
Benno Schulenberg authored
-
- 26 Feb, 2017 2 commits
-
-
Benno Schulenberg authored
Of course 'row' needs to be initialized to zero for the softwrap case.
-
Benno Schulenberg authored
This addresses https://savannah.gnu.org/patch/?9215 . Inspired-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 25 Feb, 2017 4 commits
-
-
Benno Schulenberg authored
Add its explanation as a separate paragraph. Also: improve the argument of the --syntax option, as this is a <name> and not merely a bundle of characters like the other <str> arguments.
-
David Lawrence Ramsey authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
In this last loop of break_line(), the pointer 'line' is one step ahead of the index 'lastblank'. So the loop should first add the length of the preceding character to 'lastblank' before determining the length of the current character (and using this to advance 'line').
-
- 24 Feb, 2017 10 commits
-
-
Benno Schulenberg authored
(There is something wrong in the last loop: line is one character ahead of lastblank, but the current character length is added to both of them. It thus assumes that all blank characters are the same number of bytes. For spaces and tabs this works fine. But for more exotic blanks...)
-
Benno Schulenberg authored
Also, remove an assert and adjust some comments.
-
David Lawrence Ramsey authored
-
David Lawrence Ramsey authored
Also, rename a parameter to be less cryptic, and remove an entire condition because the relevant block will never be reached when getting called from the help routines: if blank_loc is negative, the function will have bailed out in the preceding if.
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
In softwrap mode, the entire line is onscreen, so the word is never partially offscreen, so we always have enough columns to show it. This fixes https://savannah.gnu.org/bugs/?50389 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Give the strlenpt() routine its own implementation, so that it avoids a needless comparison plus subtraction in the inner loop.
-
David Lawrence Ramsey authored
Instead of allocating enough space to convert the entire passed string, just allocate space for converting the part that will be converted -- that is: starting from start_index. This still allocates far too much (if the passed string is very long and its tail part won't fit on the screen), but it's better than before.
-
- 23 Feb, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 22 Feb, 2017 3 commits
-
-
Mike Frysinger authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?50379.
-
Benno Schulenberg authored
Cap the number of pauses when displaying ALERT messages, to avoid making the user wait for ages when tens or hundreds of files were specified on the command line. This fixes https://savannah.gnu.org/bugs/?50362 . Reported-by:
Mike Frysinger <vapier@gentoo.org>
-
- 21 Feb, 2017 3 commits
-
-
Benno Schulenberg authored
Reflect the significant changes in painting and regex searching in the copyright notices.
-
Mike Frysinger authored
-
Mike Frysinger authored
-
- 17 Feb, 2017 6 commits
-
-
David Lawrence Ramsey authored
Later on we're going to need the ability to graft a buffer into the current file buffer without making a copy of it first.
-
David Lawrence Ramsey authored
The name "filestruct" was a mistake. What was meant was: buffer -- a linked list of structs that each describe a line.
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
When in softwrap mode, no "$" continuation characters are displayed, so the code that reserves space for them should be skipped then. This fixes https://savannah.gnu.org/bugs/?50335.
-
- 16 Feb, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
As a small service to the user, reject empty regex strings, because an entirely empty regex simply doesn't make sense. Inspired-by:
Elia Geretto <elia.f.geretto@gmail.com>
-
Benno Schulenberg authored
When the marked region covers only a single line (or a part of it), its new endpoint is not simply the length of the last line of the spell-checked text, but instead the old endpoint plus the /change/ in length. This fixes https://savannah.gnu.org/bugs/?50316 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 14 Feb, 2017 1 commit
-
-
Benno Schulenberg authored
The inversion of the logic in commit a6605dce was incomplete -- oops. This fixes https://savannah.gnu.org/bugs/?50306.
-
- 13 Feb, 2017 3 commits
-
-
David Lawrence Ramsey authored
-
David Lawrence Ramsey authored
The previous code only directly refreshed the screen when the margin changed due to toggling line numbering on. When the margin changed due to toggling it off, it would indirectly refresh via do_toggle().
-
Benno Schulenberg authored
-