views:

206

answers:

1

On an opensource project that im working on we need to do some codehighlighting in a flexapplication.

So my question is whether there exist such a project already or if know of a good library suitable for porting to action script.

Or should we perhaps generate html that we display in text field?

+2  A: 

Javascript and Actionscript are pretty close languages so you should be able to take a javascript library and customize it.

I did a quick search on google for javascript code highlighter and there are a few worth looking at. A search for actionscript code highlighter library comes up with a few as well including a google code project as3syntaxhighlight.

James Fassett
That doesn't really hold true anymore. AS3 is quite different from javascript now.
Herms
I said *pretty* close ;) -- someone with a decent understanding should be able to do a port with little effort.
James Fassett