Can someone please take a look at what I've got so far and maybe give me some ideas or help on making my code work faster or better...
Currently, it highlights the entire html page when you select and load one, but! It can lock up Rev on some bigger files... Still not sure what's happening there yet. It also can take a very long time loading the file since I'm formatting it at load up also.

Highlighting as you type seems to work fine though, if anything, I believe I did something right with that!

If anyone has the time and maybe some ideas/suggestions/help, feel free to download what I have and check it over.
http://www.paraboliclogic.com/syntaxhighlight.rev
One of these days, I'd really like to finish this... But between A.D.D. and brain farts, I tell ya!
Thanks in advance,
~Garrett