View Single Post
Old 04-10-2021, 09:04 AM   #41
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,677
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
@DiapDealer
Your idea about focus was right.
Even a blind squirrel finds a nut every now and then!

Quote:
Originally Posted by KevinH View Post
With this change, I can open and close dialogs that partially cover CV with no more spinning ball.

This is even with Preview open, but spellchecking and open/close tag pair highlighting disabled.
Same. The UI remains snappy and responsive even when the massive html file's tab is open in Code View and rendered in Preview.

I got an 11 second merge time from and to end on a Virtual Windows test machine. But it's got more resources than my tired laptop where it was taking 20 seconds. I'll test this new fix there next.

Quote:
Originally Posted by KevinH View Post
Please give it a try. I have my fingers crossed.
Very promising. Thanks! Just need to do some testing to make certain that synchronous call to re-highlight wasn't necessary under certain conditions.

Editing huge html files is probably always going to painful and sluggish, but hopefully this will go a long way toward making sure Sigil's UI doesn't go on the fritz just because a huge file is open. Should make opening and splitting one of these huge buggers up less painful as well.

Last edited by DiapDealer; 04-11-2021 at 05:43 PM.
DiapDealer is offline   Reply With Quote