Comment 17 for bug 145400

Revision history for this message
Alex Cornejo (acornejoc) wrote :

I have the same reports as to highlight/wrap combinations as Luca.

About the videocard, on the two computers I've tested it on I have different video cards,

one of them is an nvidia geforce 7400 GO, with the nvidia-new drivers (latest)

The other has an old ati rage something, and I am using the r128 driver of Xorg.

I don't have any special insight into what exactly is causing this bug, but I doubt it is a driver issue (otherwise we would have problems with openoffice, mozilla, etc.. etc..).

I am pretty sure it has something to do with highlight engine+wrapping, maybe as we enter new text in gedit the new margins for wrapping are recalculated, and the highlighting of the whole line gets recalculated. Since some highlighting engines use a lot of regexp for detecting different highlight regions, this could potentially trigger regexps over the whole line for each new character inserted. Anyway, this is just a wild theory since I have no clue about the inner workings of gtksoruceview or pango (which I guess could also be part of the problem).

Regards,
Alex