Re: Does gtk2 provide a case 'in'-sensitive text search via 'gtk_text_iter_..._search'?

2017-02-17 Thread Eric Cashon via gtk-app-devel-list
David, I asked a question about this on the gtk-devel-list https://mail.gnome.org/archives/gtk-devel-list/2017-January/msg00018.html last month. A lot I didn't know about this. For UTF-8 it is a bit complicated even for English. For GTK's case in-sensitive search they use a casefold

Re: Does gtk2 provide a case 'in'-sensitive text search via 'gtk_text_iter_..._search'?

2017-02-17 Thread David C. Rankin
On 01/26/2017 03:21 PM, cecas...@aol.com wrote: > I worked on this a little more and tried to make it UTF-8 compliant. > Highlighted the text also. It should still be efficient since it is only doing > a single pass over each char. I am sure there are things that I haven't > considered but it does

Re: issue with drawing graph in GTK

2017-02-17 Thread Anthony Ruth
My guess is that your data points are extending outside your drawing area. I would suggest including something in your code to verify that all points passed to cairo move to or cairo line to are within the valid range. Anthony Ruth NASA Space Technology Research Fellow Condensed Matter Theory