[Geany] Find dialog (was XML Colors)
Bob Doan
bdoan at xxxxx
Sun Nov 5 16:00:22 UTC 2006
> I'm not sure what you mean - the change you mention only applies when a
> match is found. You probably mean an earlier change, perhaps r909. I
> know that with the Find dialog (or find again), when wrapping a search
> the view can scroll a bit even when no match is found, but this was
> improved from moving the cursor to the start/end of text when wrapping
> a search. The search bar should work fine.
Ok..
Ahh.. I see it was worse before... Forgive me as I'm really new to
geany.
The problem is in document.c line 1018:
if (ret == -1) // return to original cursor position if not found
sci_goto_pos(doc_list[idx].sci, selection_start, FALSE);
It seems to me we want to do something to record the 1st visible line
and sci_scroll_to_line as well as setting the pos.
The search bar is fine...
Cheers,
- Bob
More information about the Users
mailing list