CodeMirror 2.35/3.0 Beta2,在线代码编辑
CodeMirror 2.35 发布了,主要改进包括:
- New (sub) mode: TypeScript.
- Don't overwrite (insert key) when pasing.
- Fix several bugs in markText/undo interaction.
- Better indentation of JavaScript code without semicolons.
- Add defineInitHookfunction.
- Full list of patches.
同时发布的还有 3.0 Beta 2 版本,改进记录:
- Fix page-based coordinate computation.
- Fix firing of gutterClickevent.
- Add cursorHeightoption.
- Fix bi-directional text regression.
- Add viewportMarginoption.
- Directly handle mousewheel events (again, hopefully better).
- Make vertical cursor movement more robust (through widgets, big line gaps).
- Add flattenSpansoption.
- Initialization in hidden state works again.
- Many optimizations. Poor responsiveness should be fixed.
- Full list of patches.
CodeMirror 是一款“Online Source Editor”,基于Javascript,短小精悍,实时在线代码高亮显示,他不是某个富文本编辑器的附属产品,他是许多大名鼎鼎的在线代码编辑器的基础库。

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号