I have had no luck with my idea to speed up syntax highlighting. It’s not working…
I have one last idea which I had a long time ago, but didn’t think it was that good back then.
I’ll ask you guys here what you think about it.
If I can save the script file as an RTF (RichTextFormat) file, then the coloring will be stored inside the file, and it will load instantly.
However, W:ET cannot read these files, so I will have to save them under a different name, like “.etscript” or something like that.
One of the drawbacks I thought of previously was that you would have to go into ETScript and ‘resave’ the script as a “.script” file each time you wanted to test your map, because the actual “.script” file was not being modified.
But I had another idea, to keep the “.script” file synchronised with the “.etscript” file. Each time you save the “.etscript” file, you will also automatically save the “.script” file.
And when you open a “.script” file, ETScript will look in the maps folder to see if the “.etscript” file exists, and open that instead.
That way, the only time you must wait for it to colorize is the very first time you open the script.
Good idea?

(Except for the very first load time of any script, when the ‘.etscript’ file is not made yet, then it takes loading time.)