GNOME Bugzilla – Bug 722824
Search doesn't work on long files
Last modified: 2014-01-26 21:22:23 UTC
Steps to reproduce: - Turn on line breaks. - Open a file with one 300KiB line. - Open `Search` box and enter any char existing in the file. Expected: - Search result. Seen: - Hang. - Several minutes didn't help. It looks like you're using something with O(N^2) asymptotics for search (strlen in for loop condition?)
If very long lines isn't well supported by GtkTextView, why do you think it will work for the search and replace?
Please, follow this into GtkTextView bugtracker.