Syntax Library Selection in ActionScript

I allow the user to enter code in my Flex3 application (Flash 10), and I want to do syntax highlighting.

Is there an open source library that will help me?

I need Lua syntax support, but I can add it myself if the library has a resonant interface for this.

+6
flex actionscript flash syntax-highlighting
source share
4 answers

January 21, 2009 Patch:

Drop the google-code-prettify port for ActionScript3 , it also has a very good example.

+5
source share

I suppose this was not even possible until now.

With the new Flash Text Engine , perhaps such text features will begin to appear, and hopefully open source libraries that work like the FlashEff library will be opened.

+1
source share

I also wanted to do syntax highlighting, I found an example that works http://labs.searchcoders.com/text/

You will need to take the code of your actions and when people change the text in the text area, you will need to re-draw the syntax highlight.

I basically do this when I create my own IDE / language in FLEX.

+1
source share

All Articles