Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.48 KB

readme.md

File metadata and controls

24 lines (18 loc) · 1.48 KB

#JS Editor code editor with syntax highlight based on html5 canvas element, like notepad++ or other editor.

online demo: http://editor.xiaoge.me

Characters

  • 支持Firefox、IE9、Chrome浏览器(其它浏览器暂时未测试兼容性)
  • 基于Html5的Canvas元素绘制,相当于实现了一个简单的Scintilla(http://www.scintilla.org/,notepad++的内核)
  • 支持海量文本编辑
  • 支持多种语言的高亮、各种颜色主题可配置(目前实现了JS和VB.net的词法分析,aptana3和notepad++的默认主题)

Known Bugs and Todo list

请参看根目录下的bug_todo.md文件

Information

代码高亮模块的词法分析部分使用基于Javascript的词法分析器自动生成工具AliceLex生成。该工具实现了纯基于Javascript的Lex工具,是我的个人毕业设计。

项目还在完善中,目前只解决了核心难点(海量文本、词法分析),还有许多功能需要逐步实现(自动换行、查找替换、类似vim的快捷操作等等)。欢迎联系我共同开发。

Contact Author