vte_terminal_search_find_previous() / vte_terminal_search_find_next() don't search forward even though there is a second string matching the search regex in the same line.
Submitted by Tetralet
Link to original bug (#633630)
Description
Created attachment 173593 A sample demo vte for vte_terminal_search
The attached file vte_find.c is a sample vte demo for find,
You may use "gcc vte.c -o vte pkg-config --cflags --libs gtk+-2.0 vte
" to compile it,
And press <Ctrl>``<P>
to find previous, and <Ctrl>``<N>
to find next.
The search regex in vte_find.c is ".", so that press <Ctrl>``<P>
should get previous letter,
and <Ctrl>``<N>
should get next letter.
But vte don't work in this way.
In the vte_find, press <Ctrl>``<P>
it will get the first letter of current line,
(not the previous letter of the cursor),
then press <Ctrl>``<N>
it will get the first letter of first line.
(not the 2rd letter of current line).
I think it is a strange behavior. Please consider to fix it. Thanks!
Attachment 173593, "A sample demo vte for vte_terminal_search":
vte_find.c
Version: 0.26.x
Resolution: RESOLVED DUPLICATE