What is the best way to hack away a bug in GTK+? The bug in https://bugzilla.gnome.org/show_bug.cgi?id=127840 is irritating and I would like to see a working version of it. But there is just so many lines of code so how can I find the correct part of the code? I'm using DDD.
A:
In this case you know it's a bug in the text view, so you'd look at gtk+/gtk/gtktextview.c and then start following the source out to other related files.
This particular bug is essentially unfixable though. Each paragraph is rendered as a single PangoLayout and PangoLayout doesn't really support processing only part of a single paragraph. The best fix might be in GEdit to throw an error or insert line breaks or something.
Havoc P
2010-10-15 19:59:03