ActionScript 中的语法高亮库 [英] Syntax Highlighting library in ActionScript

查看:29
本文介绍了ActionScript 中的语法高亮库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我让用户在我的 Flex3 (Flash 10) 应用程序中输入一些代码,我想进行语法高亮显示.

I let user enter some code in my Flex3 (Flash 10) app and I want to do syntax highlighting.

有什么开源库可以帮助我吗?

Is there any open-source library that would help me?

我需要一个 Lua 语法支持,但如果库有一个合理的接口来做到这一点,我可以自己添加它.

I'll need a Lua syntax support, but I can add it myself if library has a resonable interface to do this.

推荐答案

2009 年 1 月 21 日更新:

Update on 21 Jan, 2009:

查看 Anirudh 的 google-code-prettify 到 ActionScript3 的端口,它有一个也是非常好的示例应用.

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

这篇关于ActionScript 中的语法高亮库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆