ColdFISH - the ColdFusion Integrated Syntax Highlighter Released!
The other day, Todd Sharp forwarded me a blog posting about a little known utility in ColdFusion for syntax highglighting. http://www.anujgakhar.com/2008/02/14/colored-code-with-coldfusion/
The fact is, that this internal utility was made for highlighting MXML not CFML. It seemed to me that there are a lot of syntax highlighters out there, but most of them are in JavaScript or extraordinarily heavy and difficult to implement. And even when they do highlight CF, they do it with color coding that is strange to me.
I didn't think it would be that hard to make a syntax highlighter... so, over the weekend I made one. :)
ColdFISH handles highlighting CFML, CFSCRIPT, HTML, Javascript, and Comments in each of those. It's not yet smart enough to do the highlighting of keywords, but I think it will do the trick for most of you. It's very fast (~50 ms for my 58 line test file), the color coding is easy to customize, and it generates simple HTML so you shouldn't have to worry about how it renders in various browsers.
Check out the ColdFISH project on RIAFORGE and let me know what you think!
Cheers, Jason

I just had a coding itch I had to scratch, we'll see if anyone uses it. It sounded like it may make it into the next version of BlogCFC... :)
Jason
I did the following to make it work:
newLine.append(character.tostring());
Cheers, :)
Jason
Thanks again!!
I am not running CF 8 so I have modified coldfish in order to make it downwards compatible to CF 7.x
If you are interested, just send me an email.