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

发布于 2018年02月21日
收藏 6

CodeMirror 5.35.0 已发布。主要更新内容如下:

Bug 修复

  • Fix problem where selection undo might change read-only documents.

  • Fix crash when calling addLineWidget on a document that has no attached editor.

  • searchcursor addon: Fix behavior of ^ in multiline regexp mode.

  • match-highlighter addon: Fix problem with matching words that have regexp special syntax in them.

  • sublime bindings: Fix addCursorToSelection for short lines.

  • javascript mode: Support TypeScript intersection types, dynamic import.

  • stex mode: Fix parsing of \( \) delimiters, recognize more atom arguments.

  • haskell mode: Highlight more builtins, support <* and *>.

  • sql mode: Make it possible to disable backslash escapes in strings for dialects that don't have them, do this for MS SQL.

  • dockerfile mode: Highlight strings and ports, recognize more instructions.


  • vim bindings: Support alternative delimiters in replace command.


转载请注明:文章转载自 开源中国社区 []
本文标题:CodeMirror 5.35.0 发布,在线代码编辑器