CodeMirror 5.32.0 已发布,CodeMirror 是一款“Online Source Editor”,基于 Javascript,短小精悍,实时在线代码高亮显示,它不是某个富文本编辑器的附属产品,而是许多大名鼎鼎的在线代码编辑器的基础库。
该版本修复了 bug,还添加了新特性。
Bug 修复
Increase contrast on default bracket-matching colors.
javascript mode: Recognize TypeScript type parameters for calls, type guards, and type parameter defaults. Improve handling of enum and module keywords.
comment addon: Fix bug when uncommenting a comment that spans all but the last selected line.
searchcursor addon: Fix bug in case folding.
emacs bindings: Prevent single-character deletions from resetting the kill ring.
closebrackets addon: Tweak quote matching behavior.
新特性
continuelist addon: Increment ordered list numbers when adding one.
完整日志:https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md
下载地址:https://github.com/codemirror/CodeMirror/archive/5.32.0.zip

