GNOME Bugzilla – Bug 663097
gedit unresponsive with a file containing long line
Last modified: 2011-12-03 09:50:39 UTC
Created attachment 200333 [details] CSS to use to test When opening the file attached, a 32 kb CSS file having a very long line (more then 32000 chars) gedit becomes unresponsive very often, slows down noticeably, and it becomes unusable. I guess this happens with any files having one very long line. Tried both with text wrapping enabled and disabled from preferences, but the behavior is not affected, gedit is unresponsive regardless of the setting.
Unfortunately this is how GtkTextView works, so there is little that gedit can do. GtkTextView internal data structure makes some trade offs that improve things for "normal" files at the expense of the very-long-line corner case.