On Mon, Mar 16, 2026 at 8:26 AM Sven Schreiber
<sven.schreiber(a)fu-berlin.de> wrote:
maybe this is a GTK bug: Open a new script editor window, type a word,
say "hey" (unquoted), then hit ctrl+F to search something, type in (or
paste) the same word, hit return or click the looking glass, nothing is
found.
More generally, this seems to apply to the last line in a file. If a
type more stuff and search again, then the word (hey) is found.
In my experimentation,the problem occurs only in an unterminated last
line (no newline character appended yet). In such a case searching for
the last characters in the unterminated line would fail. This wasn't
exactly a Gtk bug, but it resulted from behavior that we weren't
expecting from a certain GtkTextIter function. We now (in git) employ
a different function and can detect the search term OK if it's
present.
Allin