1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 CodeMirror 5.35.0 发布,在线代码编辑器 下载

Discussion in '软件资讯' started by 漂亮的石头, 2018-02-23.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    488,399
    Likes Received:
    48
    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 发布,在线代码编辑器下载地址
     
Loading...