红联Linux门户
Linux帮助

CodeMirror 5.31.0发布,在线代码编辑器

发布时间:2017-10-21 09:11:39来源:红联作者:baihuo
CodeMirror 5.31.0 已发布,CodeMirror 是一款“Online Source Editor”,基于 Javascript,短小精悍,实时在线代码高亮显示,它不是某个富文本编辑器的附属产品,而是许多大名鼎鼎的在线代码编辑器的基础库。

修复

Further improve selection drawing and cursor motion in right-to-left documents.

vim bindings: Fix ctrl-w behavior, support quote-dot and backtick-dot marks, make the wide cursor visible in contentEditable input mode.

continuecomment addon: Fix bug when pressing enter after a single-line block comment.

markdown mode: Fix issue with leaving indented fenced code blocks.

javascript mode: Fix bad parsing of operators without spaces between them. Fix some corner cases around semicolon insertion and regexps.

新特性

Modes added with addOverlay now have access to a baseToken method on their input stream, giving access to the tokens of the underlying mode.

软件详情:http://git.oschina.net/mirrors/CodeMirror

下载地址:https://github.com/codemirror/CodeMirror/archive/5.31.0.zip

来自:开源中国社区
文章评论

共有 0 条评论