View Single Post
Old 03-10-2012, 11:44 AM   #64
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
And after a brief check, its not something that can be fixed easily. Its the old QPlainTextEdit problem - the Qt editor just can't handle large amounts of activity and dies, usually in setTextCursor. Unfortunately this is one that will require user_none replacing the editing core of Code View, which is not a trivial task.

As a workaround, just use Replace All with Selected HTML files and just select 1 file.

When you use Current File the replace is done using QPlainTextEdit and it saves each find/replace in order to allow you to Undo each change.

When you use Selected HTML files or All HTML files the replace is done directly on the text file so it doesn't have the same problem - and its a lot faster. With such a large amount of replaces, Undo isn't really a concern.
meme is offline   Reply With Quote