All (I apologize if you get 2, post yesterday never went through), I'm pretty sure the answer is No, but I have a GtkTextBuffer within a text_view widget that I writing a search dialog for with option for 'case-insensitive' search. (the default search by gtk_text_iter_forward_search, and ...reverse_search is case-sensitive).
I don't seem to be able to find a gtk2 function within the gtk_text_view..., gtk_text_buffer... or gtk_text_iter... set of functions or any buffer, view or iter property that provides a case insensitive search. Absent some specific function or property, my thought is just to duplicate the buffer (or sections of it at a time), convert it to lower-case, search on a lower-case string, and then translate any found iter offset from the lower-case buffer back to the original. Before I take off down that rabbit trail, I thought I would check to make sure I'm not just missing something obvious (either from gtk2 or a solution here I can't find). I've been though the GTK+2 Reference Manual and exhausted my search here, and generally for a gtk2 default solution. Does gtk2 provide anything by default for a case insensitive text_buffer search? -- David C. Rankin, J.D.,P.E. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list