View Single Post
Old 06-23-2014, 02:55 PM   #6
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by kovidgoyal View Post
When any change is made to a very long file, the entire syntax highlighting for the rest of the file might need to be recalculated (depending on the change). The HTML syntax highlighter in the editor actually keeps track of tag nesting in order to be able to provide inline language dependent spellchecking. Which means that editing long files will be slow. Split your files. Having huge files is almost never a good idea.
Thanks for your explanation, Kovid.

Just a stupid hint I'm nearly sure you are currently aware of, but just in case.

Please notice how I pointed automated actions (Beautify All files, S&R All through all files) where syntax highlighter is useless while working...

I mean, if possible in the code, if they are the culprits for the pseudo-hang, and if you are not actually doing it, you could firstly turn syntax highlighting (and spell checking) off, then perform those global actions and then re-enable them.

Just thoughts...
arspr is offline   Reply With Quote