On Mon, Feb 20, 2017 at 09:26:22PM +0100, Dennis Preiser wrote:
On Sun, Feb 19, 2017 at 11:37:32AM +0100, Walter Alejandro Iglesias wrote:
1. An issue (bug?) I found. In the article view, search (/) and 'repeat last search' (\) get stalled in the first occurrence. I have to scroll the page till the first finding is hidden off the buffer to be able to go forward to the next occurrence.
I had no time to look into this but I can reproduce it with wildcard=0 in tinrc. (linked against ncursesw)
In case of 'wildcard=0' we reset both search offsets to zero at the beginning of wildmat.c:wildmatpos. That's the reason why each subsequent search starts at the beginning of the current line and finds the same occurence as the last search. The attached patch uses the second offset of the previous search to skip over the already processed part of the current line. Dennis