2017年10月20日星期五

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


Linuxeden 开源社区 --CodeMirror
CodeMirror

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://ift.tt/2zE3Cip

The post CodeMirror 5.31.0 发布,在线代码编辑器 appeared first on Linuxeden开源社区.

http://ift.tt/2xbFmT8

没有评论:

发表评论