Syntax Highlighting library in ActionScript

泄露秘密 提交于 2019-11-30 09:48:29
Swaroop C H

Update on 21 Jan, 2009:

Check out Anirudh's port of google-code-prettify to ActionScript3, it has a very good example app as well.

I guess this wasn't even feasible till now.

With the new Flash Text Engine, maybe such text-based features will start showing up, and hopefully open source libraries that work like the FlashEff library.

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

You will need to take their actionscript code and when people change the text in your text area then you will need to re-draw the syntax highlighting.

Basically I am doing this as I'm making my own IDE/Language in FLEX.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!