ForwardBackwardData in GtkSourceSearchContext stashes raw GtkTextIter
I'm seeing some issues when doing searches under heavy editing (while typing) and it appears to be related to the ForwardBackwardData storing GtkTextIter and then passing them back directly in gtk_source_search_context_forward_finish2()
. When attempting to get the text using gtk_text_iter_get_slice()
from the GAsyncReadyCallback
I'm getting the gtktextview warnings.
(gnome-builder:25405): Gtk-WARNING **: 20:00:52.923: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.