Daniel Brötzmann pushed to branch gtk4 at gajim / gajim
Commits:
16bea821 by wurstsalat at 2024-11-02T19:58:50+01:00
cfix: MessageInputTextView: Fix completion search Gtk.TextSearchFlags
- - - - -
1 changed file:
- gajim/gtk/message_input.py
Changes:
=====================================
gajim/gtk/message_input.py
=====================================
@@ -165,7 +165,11 @@ def _get_completion_candidate_bounds(
_success, start_line_iter =
text_buffer.get_iter_at_line(end.get_line())
- search_res = end.backward_search(' ', 0, start_line_iter)
+ search_res = end.backward_search(
+ ' ',
+ Gtk.TextSearchFlags.TEXT_ONLY |
Gtk.TextSearchFlags.CASE_INSENSITIVE,
+ start_line_iter,
+ )
if search_res is None:
start = start_line_iter
else:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/16bea82181f0490a4aee9ba1e202093f1835c59b
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/16bea82181f0490a4aee9ba1e202093f1835c59b
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]