From 417654ec886e231b40c5b03dfd793d2718b9ac43 Mon Sep 17 00:00:00 2001 From: Norbert Laposa Date: Thu, 30 Sep 2021 18:30:11 +0100 Subject: [PATCH] CodeMirror upgraded to v5.63.1 --- opt/codemirror/.npmignore | 5 +- opt/codemirror/.travis.yml | 4 - opt/codemirror/AUTHORS | 201 +- opt/codemirror/CHANGELOG.md | 1600 +- opt/codemirror/CONTRIBUTING.md | 2 +- opt/codemirror/README.md | 8 +- opt/codemirror/addon/comment/comment.js | 6 +- .../addon/comment/continuecomment.js | 76 +- opt/codemirror/addon/dialog/dialog.js | 6 +- opt/codemirror/addon/display/autorefresh.js | 2 +- opt/codemirror/addon/display/fullscreen.js | 2 +- opt/codemirror/addon/display/panel.js | 64 +- opt/codemirror/addon/display/placeholder.js | 19 +- opt/codemirror/addon/display/rulers.js | 2 +- opt/codemirror/addon/edit/closebrackets.js | 37 +- opt/codemirror/addon/edit/closetag.js | 54 +- opt/codemirror/addon/edit/continuelist.js | 18 +- opt/codemirror/addon/edit/matchbrackets.js | 45 +- opt/codemirror/addon/edit/matchtags.js | 2 +- opt/codemirror/addon/edit/trailingspace.js | 2 +- opt/codemirror/addon/fold/brace-fold.js | 17 +- opt/codemirror/addon/fold/comment-fold.js | 2 +- opt/codemirror/addon/fold/foldcode.js | 21 +- opt/codemirror/addon/fold/foldgutter.js | 35 +- opt/codemirror/addon/fold/indent-fold.js | 2 +- opt/codemirror/addon/fold/markdown-fold.js | 2 +- opt/codemirror/addon/fold/xml-fold.js | 2 +- opt/codemirror/addon/hint/anyword-hint.js | 2 +- opt/codemirror/addon/hint/css-hint.js | 14 +- opt/codemirror/addon/hint/html-hint.js | 5 +- opt/codemirror/addon/hint/javascript-hint.js | 11 +- opt/codemirror/addon/hint/show-hint.js | 170 +- opt/codemirror/addon/hint/sql-hint.js | 51 +- opt/codemirror/addon/hint/xml-hint.js | 58 +- .../addon/lint/coffeescript-lint.js | 2 +- opt/codemirror/addon/lint/css-lint.js | 2 +- opt/codemirror/addon/lint/html-lint.js | 10 +- opt/codemirror/addon/lint/javascript-lint.js | 4 +- opt/codemirror/addon/lint/json-lint.js | 2 +- opt/codemirror/addon/lint/lint.css | 32 +- opt/codemirror/addon/lint/lint.js | 113 +- opt/codemirror/addon/lint/yaml-lint.js | 4 +- opt/codemirror/addon/merge/merge.js | 29 +- opt/codemirror/addon/mode/loadmode.js | 24 +- opt/codemirror/addon/mode/multiplex.js | 23 +- opt/codemirror/addon/mode/multiplex_test.js | 18 +- opt/codemirror/addon/mode/overlay.js | 6 +- opt/codemirror/addon/mode/simple.js | 6 +- opt/codemirror/addon/runmode/colorize.js | 2 +- .../addon/runmode/runmode-standalone.js | 448 +- opt/codemirror/addon/runmode/runmode.js | 18 +- opt/codemirror/addon/runmode/runmode.node.js | 396 +- .../addon/scroll/annotatescrollbar.js | 16 +- opt/codemirror/addon/scroll/scrollpastend.js | 2 +- .../addon/scroll/simplescrollbars.js | 2 +- opt/codemirror/addon/search/jump-to-line.js | 14 +- .../addon/search/match-highlighter.js | 8 +- .../addon/search/matchesonscrollbar.js | 4 +- opt/codemirror/addon/search/search.js | 76 +- opt/codemirror/addon/search/searchcursor.js | 37 +- opt/codemirror/addon/selection/active-line.js | 2 +- .../addon/selection/mark-selection.js | 2 +- .../addon/selection/selection-pointer.js | 2 +- opt/codemirror/addon/tern/tern.js | 48 +- opt/codemirror/addon/tern/worker.js | 2 +- opt/codemirror/addon/wrap/hardwrap.js | 34 +- opt/codemirror/bin/authors.sh | 2 +- opt/codemirror/bin/lint | 0 opt/codemirror/bin/release | 0 opt/codemirror/bin/source-highlight | 0 opt/codemirror/demo/activeline.html | 8 +- opt/codemirror/demo/anywordhint.html | 26 +- opt/codemirror/demo/bidi.html | 4 +- opt/codemirror/demo/btree.html | 4 +- opt/codemirror/demo/buffers.html | 4 +- opt/codemirror/demo/changemode.html | 4 +- opt/codemirror/demo/closebrackets.html | 6 +- opt/codemirror/demo/closetag.html | 7 +- opt/codemirror/demo/complete.html | 6 +- opt/codemirror/demo/emacs.html | 5 +- opt/codemirror/demo/folding.html | 57 +- opt/codemirror/demo/fullscreen.html | 2 +- opt/codemirror/demo/hardwrap.html | 4 +- opt/codemirror/demo/html5complete.html | 6 +- opt/codemirror/demo/indentwrap.html | 4 +- opt/codemirror/demo/lint.html | 8 +- opt/codemirror/demo/loadmode.html | 4 +- opt/codemirror/demo/marker.html | 4 +- opt/codemirror/demo/markselection.html | 4 +- opt/codemirror/demo/matchhighlighter.html | 6 +- opt/codemirror/demo/matchtags.html | 4 +- opt/codemirror/demo/merge.html | 2 +- opt/codemirror/demo/multiplex.html | 4 +- opt/codemirror/demo/mustache.html | 6 +- opt/codemirror/demo/panel.html | 7 +- opt/codemirror/demo/placeholder.html | 4 +- opt/codemirror/demo/preview.html | 2 +- opt/codemirror/demo/requirejs.html | 6 +- opt/codemirror/demo/resize.html | 4 +- opt/codemirror/demo/rulers.html | 6 +- opt/codemirror/demo/runmode-standalone.html | 61 + opt/codemirror/demo/runmode.html | 2 +- opt/codemirror/demo/search.html | 4 +- opt/codemirror/demo/simplemode.html | 9 +- opt/codemirror/demo/simplescrollbars.html | 2 +- .../demo/spanaffectswrapping_shim.html | 2 +- opt/codemirror/demo/sublime.html | 4 +- opt/codemirror/demo/tern.html | 22 +- opt/codemirror/demo/theme.html | 26 +- opt/codemirror/demo/trailingspace.html | 4 +- opt/codemirror/demo/variableheight.html | 4 +- opt/codemirror/demo/vim.html | 16 +- opt/codemirror/demo/visibletabs.html | 4 +- opt/codemirror/demo/widget.html | 4 +- opt/codemirror/demo/xmlcomplete.html | 4 +- opt/codemirror/doc/docs.css | 5 +- opt/codemirror/doc/internals.html | 8 +- opt/codemirror/doc/manual.html | 343 +- opt/codemirror/doc/realworld.html | 24 +- opt/codemirror/doc/releases.html | 1117 +- opt/codemirror/doc/reporting.html | 2 +- opt/codemirror/doc/upgrade_v2.2.html | 4 +- opt/codemirror/doc/upgrade_v3.html | 2 +- opt/codemirror/doc/upgrade_v4.html | 2 +- opt/codemirror/index.html | 48 +- opt/codemirror/keymap/emacs.js | 398 +- opt/codemirror/keymap/sublime.js | 61 +- opt/codemirror/keymap/vim.js | 737 +- opt/codemirror/lib/codemirror.css | 23 +- opt/codemirror/lib/codemirror.js | 18972 ++++++++-------- opt/codemirror/mode/apl/apl.js | 2 +- opt/codemirror/mode/apl/index.html | 2 +- opt/codemirror/mode/asciiarmor/asciiarmor.js | 2 +- opt/codemirror/mode/asciiarmor/index.html | 2 +- opt/codemirror/mode/asn.1/asn.1.js | 4 +- opt/codemirror/mode/asn.1/index.html | 7 +- opt/codemirror/mode/asterisk/asterisk.js | 30 +- opt/codemirror/mode/asterisk/index.html | 5 +- opt/codemirror/mode/brainfuck/brainfuck.js | 2 +- opt/codemirror/mode/brainfuck/index.html | 2 +- opt/codemirror/mode/clike/clike.js | 214 +- opt/codemirror/mode/clike/index.html | 34 +- opt/codemirror/mode/clike/scala.html | 2 +- opt/codemirror/mode/clike/test.js | 98 +- opt/codemirror/mode/clojure/clojure.js | 534 +- opt/codemirror/mode/clojure/index.html | 96 +- opt/codemirror/mode/clojure/test.js | 384 + opt/codemirror/mode/cmake/cmake.js | 2 +- opt/codemirror/mode/cmake/index.html | 2 +- opt/codemirror/mode/cobol/cobol.js | 4 +- opt/codemirror/mode/cobol/index.html | 2 +- .../mode/coffeescript/coffeescript.js | 2 +- opt/codemirror/mode/coffeescript/index.html | 2 +- opt/codemirror/mode/commonlisp/commonlisp.js | 2 +- opt/codemirror/mode/commonlisp/index.html | 2 +- opt/codemirror/mode/crystal/crystal.js | 14 +- opt/codemirror/mode/crystal/index.html | 2 +- opt/codemirror/mode/css/css.js | 268 +- opt/codemirror/mode/css/gss.html | 5 +- opt/codemirror/mode/css/gss_test.js | 2 +- opt/codemirror/mode/css/index.html | 8 +- opt/codemirror/mode/css/less.html | 6 +- opt/codemirror/mode/css/less_test.js | 10 +- opt/codemirror/mode/css/scss.html | 3 +- opt/codemirror/mode/css/scss_test.js | 12 +- opt/codemirror/mode/css/test.js | 52 +- opt/codemirror/mode/cypher/cypher.js | 9 +- opt/codemirror/mode/cypher/index.html | 5 +- opt/codemirror/mode/cypher/test.js | 2 +- opt/codemirror/mode/d/d.js | 9 +- opt/codemirror/mode/d/index.html | 2 +- opt/codemirror/mode/d/test.js | 2 +- opt/codemirror/mode/dart/dart.js | 17 +- opt/codemirror/mode/dart/index.html | 2 +- opt/codemirror/mode/diff/diff.js | 2 +- opt/codemirror/mode/diff/index.html | 2 +- opt/codemirror/mode/django/django.js | 2 +- opt/codemirror/mode/django/index.html | 4 +- opt/codemirror/mode/dockerfile/dockerfile.js | 2 +- opt/codemirror/mode/dockerfile/index.html | 4 +- opt/codemirror/mode/dockerfile/test.js | 2 +- opt/codemirror/mode/dtd/dtd.js | 6 +- opt/codemirror/mode/dtd/index.html | 4 +- opt/codemirror/mode/dylan/dylan.js | 2 +- opt/codemirror/mode/dylan/index.html | 4 +- opt/codemirror/mode/dylan/test.js | 2 +- opt/codemirror/mode/ebnf/ebnf.js | 16 +- opt/codemirror/mode/ebnf/index.html | 4 +- opt/codemirror/mode/ecl/ecl.js | 2 +- opt/codemirror/mode/ecl/index.html | 2 +- opt/codemirror/mode/eiffel/eiffel.js | 2 +- opt/codemirror/mode/eiffel/index.html | 2 +- opt/codemirror/mode/elm/elm.js | 278 +- opt/codemirror/mode/elm/index.html | 4 +- opt/codemirror/mode/erlang/erlang.js | 6 +- opt/codemirror/mode/erlang/index.html | 4 +- opt/codemirror/mode/factor/factor.js | 4 +- opt/codemirror/mode/factor/index.html | 4 +- opt/codemirror/mode/fcl/fcl.js | 2 +- opt/codemirror/mode/fcl/index.html | 12 +- opt/codemirror/mode/forth/forth.js | 2 +- opt/codemirror/mode/forth/index.html | 4 +- opt/codemirror/mode/fortran/fortran.js | 2 +- opt/codemirror/mode/fortran/index.html | 4 +- opt/codemirror/mode/gas/gas.js | 6 +- opt/codemirror/mode/gas/index.html | 2 +- opt/codemirror/mode/gfm/gfm.js | 2 +- opt/codemirror/mode/gfm/index.html | 4 +- opt/codemirror/mode/gfm/test.js | 4 +- opt/codemirror/mode/gherkin/gherkin.js | 2 +- opt/codemirror/mode/gherkin/index.html | 2 +- opt/codemirror/mode/go/go.js | 2 +- opt/codemirror/mode/go/index.html | 2 +- opt/codemirror/mode/groovy/groovy.js | 7 +- opt/codemirror/mode/groovy/index.html | 2 +- opt/codemirror/mode/haml/haml.js | 4 +- opt/codemirror/mode/haml/index.html | 2 +- opt/codemirror/mode/haml/test.js | 2 +- opt/codemirror/mode/handlebars/handlebars.js | 8 +- opt/codemirror/mode/handlebars/index.html | 5 +- .../mode/haskell-literate/haskell-literate.js | 2 +- .../mode/haskell-literate/index.html | 2 +- opt/codemirror/mode/haskell/haskell.js | 2 +- opt/codemirror/mode/haskell/index.html | 4 +- opt/codemirror/mode/haxe/haxe.js | 2 +- opt/codemirror/mode/haxe/index.html | 4 +- .../mode/htmlembedded/htmlembedded.js | 2 +- opt/codemirror/mode/htmlembedded/index.html | 6 +- opt/codemirror/mode/htmlmixed/htmlmixed.js | 9 +- opt/codemirror/mode/htmlmixed/index.html | 4 +- opt/codemirror/mode/http/http.js | 2 +- opt/codemirror/mode/http/index.html | 4 +- opt/codemirror/mode/idl/idl.js | 4 +- opt/codemirror/mode/idl/index.html | 5 +- opt/codemirror/mode/index.html | 3 +- opt/codemirror/mode/javascript/index.html | 10 +- opt/codemirror/mode/javascript/javascript.js | 171 +- opt/codemirror/mode/javascript/json-ld.html | 4 +- opt/codemirror/mode/javascript/test.js | 49 +- .../mode/javascript/typescript.html | 5 +- opt/codemirror/mode/jinja2/index.html | 4 +- opt/codemirror/mode/jinja2/jinja2.js | 8 +- opt/codemirror/mode/jsx/index.html | 4 +- opt/codemirror/mode/jsx/jsx.js | 8 +- opt/codemirror/mode/jsx/test.js | 9 +- opt/codemirror/mode/julia/index.html | 5 +- opt/codemirror/mode/julia/julia.js | 208 +- opt/codemirror/mode/livescript/index.html | 2 +- opt/codemirror/mode/livescript/livescript.js | 2 +- opt/codemirror/mode/lua/index.html | 4 +- opt/codemirror/mode/lua/lua.js | 3 +- opt/codemirror/mode/markdown/index.html | 25 +- opt/codemirror/mode/markdown/markdown.js | 35 +- opt/codemirror/mode/markdown/test.js | 31 +- opt/codemirror/mode/mathematica/index.html | 2 +- .../mode/mathematica/mathematica.js | 2 +- opt/codemirror/mode/mbox/index.html | 2 +- opt/codemirror/mode/mbox/mbox.js | 2 +- opt/codemirror/mode/meta.js | 30 +- opt/codemirror/mode/mirc/index.html | 3 +- opt/codemirror/mode/mirc/mirc.js | 2 +- opt/codemirror/mode/mllike/index.html | 2 +- opt/codemirror/mode/mllike/mllike.js | 5 +- opt/codemirror/mode/modelica/index.html | 2 +- opt/codemirror/mode/modelica/modelica.js | 8 +- opt/codemirror/mode/mscgen/index.html | 2 +- opt/codemirror/mode/mscgen/mscgen.js | 16 +- opt/codemirror/mode/mscgen/mscgen_test.js | 3 +- opt/codemirror/mode/mscgen/msgenny_test.js | 3 +- opt/codemirror/mode/mscgen/xu_test.js | 9 +- opt/codemirror/mode/mumps/index.html | 4 +- opt/codemirror/mode/mumps/mumps.js | 4 +- opt/codemirror/mode/nginx/index.html | 6 +- opt/codemirror/mode/nginx/nginx.js | 2 +- opt/codemirror/mode/nsis/index.html | 2 +- opt/codemirror/mode/nsis/nsis.js | 4 +- opt/codemirror/mode/ntriples/index.html | 6 +- opt/codemirror/mode/ntriples/ntriples.js | 2 +- opt/codemirror/mode/octave/index.html | 5 +- opt/codemirror/mode/octave/octave.js | 4 +- opt/codemirror/mode/oz/index.html | 6 +- opt/codemirror/mode/oz/oz.js | 6 +- opt/codemirror/mode/pascal/index.html | 4 +- opt/codemirror/mode/pascal/pascal.js | 19 +- opt/codemirror/mode/pegjs/index.html | 4 +- opt/codemirror/mode/pegjs/pegjs.js | 8 +- opt/codemirror/mode/perl/index.html | 4 +- opt/codemirror/mode/perl/perl.js | 10 +- opt/codemirror/mode/php/index.html | 4 +- opt/codemirror/mode/php/php.js | 16 +- opt/codemirror/mode/php/test.js | 2 +- opt/codemirror/mode/pig/index.html | 2 +- opt/codemirror/mode/pig/pig.js | 2 +- opt/codemirror/mode/powershell/index.html | 7 +- opt/codemirror/mode/powershell/powershell.js | 4 +- opt/codemirror/mode/powershell/test.js | 4 +- opt/codemirror/mode/properties/index.html | 2 +- opt/codemirror/mode/properties/properties.js | 2 +- opt/codemirror/mode/protobuf/index.html | 2 +- opt/codemirror/mode/protobuf/protobuf.js | 7 +- opt/codemirror/mode/pug/index.html | 4 +- opt/codemirror/mode/pug/pug.js | 20 +- opt/codemirror/mode/puppet/index.html | 2 +- opt/codemirror/mode/puppet/puppet.js | 4 +- opt/codemirror/mode/python/index.html | 6 +- opt/codemirror/mode/python/python.js | 85 +- opt/codemirror/mode/python/test.js | 40 +- opt/codemirror/mode/q/index.html | 4 +- opt/codemirror/mode/q/q.js | 2 +- opt/codemirror/mode/r/index.html | 2 +- opt/codemirror/mode/r/r.js | 25 +- opt/codemirror/mode/rpm/changes/index.html | 4 +- opt/codemirror/mode/rpm/index.html | 4 +- opt/codemirror/mode/rpm/rpm.js | 10 +- opt/codemirror/mode/rst/index.html | 4 +- opt/codemirror/mode/rst/rst.js | 2 +- opt/codemirror/mode/ruby/index.html | 4 +- opt/codemirror/mode/ruby/ruby.js | 57 +- opt/codemirror/mode/ruby/test.js | 9 +- opt/codemirror/mode/rust/index.html | 12 +- opt/codemirror/mode/rust/rust.js | 6 +- opt/codemirror/mode/rust/test.js | 2 +- opt/codemirror/mode/sas/index.html | 4 +- opt/codemirror/mode/sas/sas.js | 4 +- opt/codemirror/mode/sass/index.html | 2 +- opt/codemirror/mode/sass/sass.js | 11 +- opt/codemirror/mode/sass/test.js | 2 +- opt/codemirror/mode/scheme/index.html | 2 +- opt/codemirror/mode/scheme/scheme.js | 32 +- opt/codemirror/mode/shell/index.html | 2 +- opt/codemirror/mode/shell/shell.js | 49 +- opt/codemirror/mode/shell/test.js | 17 +- opt/codemirror/mode/sieve/index.html | 2 +- opt/codemirror/mode/sieve/sieve.js | 4 +- opt/codemirror/mode/slim/index.html | 2 +- opt/codemirror/mode/slim/slim.js | 2 +- opt/codemirror/mode/slim/test.js | 2 +- opt/codemirror/mode/smalltalk/index.html | 2 +- opt/codemirror/mode/smalltalk/smalltalk.js | 2 +- opt/codemirror/mode/smarty/index.html | 4 +- opt/codemirror/mode/smarty/smarty.js | 6 +- opt/codemirror/mode/solr/index.html | 4 +- opt/codemirror/mode/solr/solr.js | 2 +- opt/codemirror/mode/soy/index.html | 4 +- opt/codemirror/mode/soy/soy.js | 472 +- opt/codemirror/mode/soy/test.js | 243 +- opt/codemirror/mode/sparql/index.html | 2 +- opt/codemirror/mode/sparql/sparql.js | 18 +- opt/codemirror/mode/spreadsheet/index.html | 4 +- .../mode/spreadsheet/spreadsheet.js | 2 +- opt/codemirror/mode/sql/index.html | 3 +- opt/codemirror/mode/sql/sql.js | 65 +- opt/codemirror/mode/stex/index.html | 2 +- opt/codemirror/mode/stex/stex.js | 4 +- opt/codemirror/mode/stex/test.js | 2 +- opt/codemirror/mode/stylus/index.html | 2 +- opt/codemirror/mode/stylus/stylus.js | 12 +- opt/codemirror/mode/swift/index.html | 60 +- opt/codemirror/mode/swift/swift.js | 42 +- opt/codemirror/mode/swift/test.js | 10 +- opt/codemirror/mode/tcl/index.html | 2 +- opt/codemirror/mode/tcl/tcl.js | 5 +- opt/codemirror/mode/textile/index.html | 2 +- opt/codemirror/mode/textile/test.js | 6 +- opt/codemirror/mode/textile/textile.js | 2 +- opt/codemirror/mode/tiddlywiki/index.html | 4 +- opt/codemirror/mode/tiddlywiki/tiddlywiki.js | 6 +- opt/codemirror/mode/tiki/index.html | 6 +- opt/codemirror/mode/tiki/tiki.js | 2 +- opt/codemirror/mode/toml/index.html | 4 +- opt/codemirror/mode/toml/toml.js | 2 +- opt/codemirror/mode/tornado/index.html | 4 +- opt/codemirror/mode/tornado/tornado.js | 2 +- opt/codemirror/mode/troff/index.html | 2 +- opt/codemirror/mode/troff/troff.js | 2 +- opt/codemirror/mode/ttcn-cfg/index.html | 7 +- opt/codemirror/mode/ttcn-cfg/ttcn-cfg.js | 2 +- opt/codemirror/mode/ttcn/index.html | 7 +- opt/codemirror/mode/ttcn/ttcn.js | 2 +- opt/codemirror/mode/turtle/index.html | 3 +- opt/codemirror/mode/turtle/turtle.js | 2 +- opt/codemirror/mode/twig/index.html | 8 +- opt/codemirror/mode/twig/twig.js | 2 +- opt/codemirror/mode/vb/index.html | 6 +- opt/codemirror/mode/vb/vb.js | 16 +- opt/codemirror/mode/vbscript/index.html | 4 +- opt/codemirror/mode/vbscript/vbscript.js | 6 +- opt/codemirror/mode/velocity/index.html | 2 +- opt/codemirror/mode/velocity/velocity.js | 5 +- opt/codemirror/mode/verilog/index.html | 4 +- opt/codemirror/mode/verilog/test.js | 172 +- opt/codemirror/mode/verilog/verilog.js | 146 +- opt/codemirror/mode/vhdl/index.html | 4 +- opt/codemirror/mode/vhdl/vhdl.js | 2 +- opt/codemirror/mode/vue/index.html | 4 +- opt/codemirror/mode/vue/vue.js | 2 +- opt/codemirror/mode/wast/index.html | 73 + opt/codemirror/mode/wast/test.js | 424 + opt/codemirror/mode/wast/wast.js | 132 + opt/codemirror/mode/webidl/index.html | 4 +- opt/codemirror/mode/webidl/webidl.js | 2 +- opt/codemirror/mode/xml/index.html | 4 +- opt/codemirror/mode/xml/test.js | 2 +- opt/codemirror/mode/xml/xml.js | 33 +- opt/codemirror/mode/xquery/index.html | 5 +- opt/codemirror/mode/xquery/test.js | 2 +- opt/codemirror/mode/xquery/xquery.js | 2 +- opt/codemirror/mode/yacas/index.html | 2 +- opt/codemirror/mode/yacas/yacas.js | 2 +- .../mode/yaml-frontmatter/index.html | 2 +- .../mode/yaml-frontmatter/yaml-frontmatter.js | 34 +- opt/codemirror/mode/yaml/index.html | 2 +- opt/codemirror/mode/yaml/yaml.js | 13 +- opt/codemirror/mode/z80/index.html | 4 +- opt/codemirror/mode/z80/z80.js | 2 +- opt/codemirror/package.json | 30 +- opt/codemirror/rollup.config.js | 46 +- .../addon/runmode/codemirror-standalone.js | 24 + .../src/addon/runmode/codemirror.node.js | 21 + .../src/addon/runmode/runmode-standalone.js | 2 + .../src/addon/runmode/runmode.node.js | 2 + opt/codemirror/src/display/Display.js | 10 +- opt/codemirror/src/display/focus.js | 9 +- opt/codemirror/src/display/gutters.js | 56 +- opt/codemirror/src/display/line_numbers.js | 2 +- opt/codemirror/src/display/operations.js | 7 +- opt/codemirror/src/display/scroll_events.js | 18 +- opt/codemirror/src/display/scrolling.js | 13 +- opt/codemirror/src/display/selection.js | 14 +- opt/codemirror/src/display/update_display.js | 14 +- opt/codemirror/src/display/update_line.js | 13 +- opt/codemirror/src/display/update_lines.js | 24 +- opt/codemirror/src/edit/CodeMirror.js | 21 +- opt/codemirror/src/edit/commands.js | 4 +- opt/codemirror/src/edit/drop_events.js | 41 +- opt/codemirror/src/edit/fromTextArea.js | 2 +- opt/codemirror/src/edit/global_events.js | 7 +- opt/codemirror/src/edit/key_events.js | 6 +- opt/codemirror/src/edit/main.js | 2 +- opt/codemirror/src/edit/methods.js | 44 +- opt/codemirror/src/edit/mouse_events.js | 44 +- opt/codemirror/src/edit/options.js | 39 +- .../src/input/ContentEditableInput.js | 36 +- opt/codemirror/src/input/TextareaInput.js | 34 +- opt/codemirror/src/input/input.js | 20 +- opt/codemirror/src/input/keymap.js | 13 +- opt/codemirror/src/input/keynames.js | 4 +- opt/codemirror/src/input/movement.js | 1 + opt/codemirror/src/line/highlight.js | 4 +- opt/codemirror/src/line/line_data.js | 34 +- opt/codemirror/src/line/spans.js | 12 +- .../src/measurement/position_measurement.js | 23 +- opt/codemirror/src/model/Doc.js | 14 +- .../src/model/change_measurement.js | 2 +- opt/codemirror/src/model/changes.js | 10 +- opt/codemirror/src/model/document_data.js | 1 + opt/codemirror/src/model/history.js | 6 +- opt/codemirror/src/model/line_widget.js | 4 +- opt/codemirror/src/model/mark_text.js | 5 +- opt/codemirror/src/model/selection.js | 6 +- opt/codemirror/src/model/selection_updates.js | 28 +- opt/codemirror/src/util/bidi.js | 5 +- opt/codemirror/src/util/browser.js | 2 +- opt/codemirror/src/util/misc.js | 26 +- opt/codemirror/test/annotatescrollbar.js | 55 + opt/codemirror/test/driver.js | 13 +- opt/codemirror/test/emacs_test.js | 21 +- opt/codemirror/test/html-hint-test.js | 2 +- opt/codemirror/test/index.html | 35 +- opt/codemirror/test/lint.js | 3 +- opt/codemirror/test/mode_test.js | 2 +- opt/codemirror/test/multi_test.js | 10 + opt/codemirror/test/phantom_driver.js | 31 - opt/codemirror/test/run.js | 40 +- opt/codemirror/test/search_test.js | 8 +- opt/codemirror/test/sql-hint-test.js | 64 +- opt/codemirror/test/sublime_test.js | 19 +- opt/codemirror/test/test.js | 189 +- opt/codemirror/test/vim_test.js | 811 +- opt/codemirror/theme/abbott.css | 268 + opt/codemirror/theme/ayu-dark.css | 44 + opt/codemirror/theme/ayu-mirage.css | 45 + opt/codemirror/theme/base16-dark.css | 2 + opt/codemirror/theme/base16-light.css | 2 +- opt/codemirror/theme/darcula.css | 57 +- opt/codemirror/theme/gruvbox-dark.css | 11 +- opt/codemirror/theme/idea.css | 4 +- opt/codemirror/theme/juejin.css | 30 + opt/codemirror/theme/lesser-dark.css | 2 +- opt/codemirror/theme/material-darker.css | 135 + opt/codemirror/theme/material-ocean.css | 141 + opt/codemirror/theme/material-palenight.css | 141 + opt/codemirror/theme/material.css | 160 +- opt/codemirror/theme/midnight.css | 4 - opt/codemirror/theme/moxer.css | 143 + opt/codemirror/theme/nord.css | 42 + opt/codemirror/theme/oceanic-next.css | 2 + opt/codemirror/theme/panda-syntax.css | 2 +- opt/codemirror/theme/solarized.css | 5 +- opt/codemirror/theme/vibrant-ink.css | 2 +- opt/codemirror/theme/yonce.css | 59 + opt/codemirror/theme/zenburn.css | 2 +- 502 files changed, 21587 insertions(+), 13709 deletions(-) delete mode 100644 opt/codemirror/.travis.yml mode change 100644 => 100755 opt/codemirror/bin/authors.sh mode change 100644 => 100755 opt/codemirror/bin/lint mode change 100644 => 100755 opt/codemirror/bin/release mode change 100644 => 100755 opt/codemirror/bin/source-highlight create mode 100644 opt/codemirror/demo/runmode-standalone.html create mode 100644 opt/codemirror/mode/clojure/test.js mode change 100644 => 100755 opt/codemirror/mode/sas/sas.js create mode 100644 opt/codemirror/mode/wast/index.html create mode 100644 opt/codemirror/mode/wast/test.js create mode 100644 opt/codemirror/mode/wast/wast.js create mode 100644 opt/codemirror/src/addon/runmode/codemirror-standalone.js create mode 100644 opt/codemirror/src/addon/runmode/codemirror.node.js create mode 100644 opt/codemirror/src/addon/runmode/runmode-standalone.js create mode 100644 opt/codemirror/src/addon/runmode/runmode.node.js create mode 100644 opt/codemirror/test/annotatescrollbar.js delete mode 100644 opt/codemirror/test/phantom_driver.js mode change 100644 => 100755 opt/codemirror/test/run.js create mode 100644 opt/codemirror/theme/abbott.css create mode 100644 opt/codemirror/theme/ayu-dark.css create mode 100644 opt/codemirror/theme/ayu-mirage.css create mode 100644 opt/codemirror/theme/juejin.css create mode 100644 opt/codemirror/theme/material-darker.css create mode 100644 opt/codemirror/theme/material-ocean.css create mode 100644 opt/codemirror/theme/material-palenight.css create mode 100644 opt/codemirror/theme/moxer.css create mode 100644 opt/codemirror/theme/nord.css create mode 100644 opt/codemirror/theme/yonce.css diff --git a/opt/codemirror/.npmignore b/opt/codemirror/.npmignore index f23ca7195..84f7a22b5 100644 --- a/opt/codemirror/.npmignore +++ b/opt/codemirror/.npmignore @@ -8,4 +8,7 @@ /mode/*/*.html /mode/index.html .* -bin +/bin/authors.sh +/bin/lint +/bin/release +/bin/upload-release.js diff --git a/opt/codemirror/.travis.yml b/opt/codemirror/.travis.yml deleted file mode 100644 index 52b8b8159..000000000 --- a/opt/codemirror/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -node_js: - - stable -sudo: false diff --git a/opt/codemirror/AUTHORS b/opt/codemirror/AUTHORS index 52f2b9fa5..6c953de73 100644 --- a/opt/codemirror/AUTHORS +++ b/opt/codemirror/AUTHORS @@ -4,32 +4,41 @@ List of CodeMirror contributors. Updated before every release. 4r2r Aaron Brooks Abdelouahab +Abdussalam Abdurrahman Abe Fettig +Abhishek Gahlot Adam Ahmed Adam King Adam Particka +Adam Wight adanlobato Adán Lobato +Aditya Toshniwal Adrian Aichner Adrian Heine +Adrian Kunz Adrien Bertrand aeroson Ahmad Amireh Ahmad M. Zawawi ahoward +Ajin Abraham Akeksandr Motsjonov Alasdair Smith AlbertHilb Alberto González Palomo Alberto Pose Albert Xing +Alexander Marks Alexander Pavlov Alexander Schepanovski Alexander Shvets Alexander Solovyov Alexandre Bique +Alex Churchill alexey-k Alex Piggott +Alf Eaton Aliaksei Chapyzhenka Allen Sarkisyan Ami Fischman @@ -68,12 +77,16 @@ Anthony Dugois anthonygego Anthony Gégo Anthony Grimes +Anthony Stewart Anton Kovalyov +antosarho +aoki ken Apollo Zhu AQNOUCH Mohammed Aram Shatakhtsyan areos Arnab Bose +Arnoud Buzing Arsène von Wyss Arthur Müller Arun Narasani @@ -84,12 +97,17 @@ AtomicPages LLC Atul Bhouraskar Aurelian Oancea Axel Lewenhaupt +Baptiste Augrain Barret Rennie +Bartosz Dziewoński Basarat Ali Syed Bastian Müller belhaj Bem Jones-Bey benbro +Benedikt Meurer +benhormann +Ben Hormann Beni Cherniavsky-Paskin Benjamin DeCoste Benjamin Young @@ -100,7 +118,9 @@ Bernhard Sirlinger Bert Chang Bharad BigBlueHat +Billiam Billy Moon +Bin Ni binny Bjorn Hansen B Krishna Chaitanya @@ -110,26 +130,33 @@ Bo boomyjee Bo Peng borawjm +Boris K Brad Metcalf Brandon Frohs Brandon Wamboldt Bret Little Brett Zamir Brian Grinstead +BrianHung Brian Sletten brrd Bruce Mitchener +Bruno Logerfo +Bryan Gin-ge Chen Bryan Massoth Caitlin Potter Calin Barbat callodacity Camilo Roca Casey Klebba +cBiscuit87 César González Íñiguez Chad Jolly Chandra Sekhar Pydi Charles Skelton Cheah Chu Yeow +Chhekur +Chris Colborne Chris Coyier Chris Ford Chris Granger @@ -146,15 +173,21 @@ Christopher Brown Christopher Kramer Christopher Mitchell Christopher Pfohl +Christopher Wallis Chunliang Lyu ciaranj +clone-it +clso CodeAnimal CodeBitt coderaiser Cole R Lawrence ComFreek +Cornelius Weig Cristian Prieto +Curran Kelleher Curtis Gagliardi +d8888 dagsta daines Dale Jung @@ -163,6 +196,7 @@ Dan Heberden Daniel, Dao Quang Minh Daniele Di Sarli Daniel Faust +Daniel Hanggi Daniel Huigens Daniel Kesler Daniel KJ @@ -173,43 +207,62 @@ Danila Malyutin Danny Yoo darealshinji Darius Roberts +databricks-david-lewis Dave Brondsema +Dave MacLachlan Dave Myers David Barnett David H. Bronke David Mignot David Pathakjee +David R. Myers +David Rodrigues +David Santana David Vázquez David Whittington deebugger Deep Thought +Denis Ovsienko Devin Abbott Devon Carew Dick Choi +Diego Fernandez dignifiedquire Dimage Sapelkin +Dimitri Mitropoulos +Dinindu D. Wanniarachchi +dmaclach Dmitry Kiselyov domagoj412 Dominator008 Domizio Demichelis +Doug Blank Doug Wikle Drew Bratcher Drew Hintz Drew Khoury Drini Cami Dror BG +Duncan Lilley duralog dwelle +Ealton eborden +edoroshenko edsharp ekhaled Elisée +Elmar Peise +elpnt Emmanuel Schanzer Enam Mijbah Noor Eric Allam Eric Bogard +Erik Demaine Erik Welander +erosman eustas +Evan Minsk Fabien Dubosson Fabien O'Carroll Fabio Zendhi Nagao @@ -218,20 +271,26 @@ Fauntleroy fbuchinger feizhang365 Felipe Lalanne +Felipe S. S. Schneider Felix Raab ficristo Filip Noetzel Filip Stollár Filype Pereira +finalfantasia flack Florian Felten -ForbesLindesay +Fons van der Plas Forbes Lindesay +ForbesLindesay Ford_Lawnmower Forrest Oliphant Franco Catena +Frank Seifferth Frank Wiegand +fraxx001 Fredrik Borg +FUJI Goro (gfx) Gabriel Gheorghian Gabriel Horner Gabriel Nahmias @@ -245,31 +304,40 @@ George Stephanis geowarin Gerard Braad Gergely Hegykozi +Germain Chazot Giovanni Calò Glebov Boris Glenn Jorde Glenn Ruehle goldsmcb Golevka -Google Inc. +Google LLC Gordon Smith Grant Skinner greengiant Gregory Koberger Grzegorz Mazur +Guang Li Guan Gui Guillaume Massé Guillaume Massé guraga Gustavo Rodrigues Hakan Tunc +Hanno Fellmann Hans Engel +Hanzhao Deng +Haoran Yu +Harald Schilly Hardest Harshvardhan Gupta +Hasan Delibaş Hasan Karahan Heanes Hector Oswaldo Caballero +Hein Htat Hélio +Hendrik Erz Hendrik Wallbaum Henrik Haugbølle Herculano Campos @@ -277,32 +345,46 @@ hidaiy Hiroyuki Makino hitsthings Hocdoc +Howard +Howard Jing Hugues Malphettes Ian Beck Ian Davies Ian Dickinson +Ian Henderson +ianhi Ian Rose Ian Wehrman Ian Wetherbee Ice White ICHIKAWA, Yuji idleberg +Igor Petruk ilvalle +Ilya Kharlamov +Ilya Zverev Ingo Richter +Intervue Irakli Gozalishvili +iteriani Ivan Kurnosov Ivoah +Jack Douglas Jacob Lee Jaimin Jake Peyser +Jakob Kummerow Jakob Miland +Jakub T. Jankiewicz Jakub Vrana Jakub Vrána James Campos +James Cockshull James Howard James Thorne Jamie Hill Jamie Morris +Janice Leung Jan Jongboom jankeromnes Jan Keromnes @@ -315,10 +397,12 @@ Jared Jacobs Jason Jason Barnabe Jason Grout +Jason Heeris Jason Johnston Jason San Jose Jason Siefken Jayaprabhakar +Jay Contonio Jaydeep Solanki Jean Boussier Jeff Blaisdell @@ -336,23 +420,33 @@ jochenberger Jochen Berger Joel Einbinder joelpinheiro +Joe Predham +joewalsh Johan Ask +Johannes +John Chen John Connor John-David Dalton John Engler John Lees-Miller +John Ryan John Snelson +johnspiegel John Van Der Loo Jon Ander Peñalba Jonas Döbertin Jonas Helfer +Jonathan Dierksen Jonathan Hart Jonathan Malmaud +Jonathan Rascher Jon Gacnik jongalloway Jon Malmaud Jon Sangster +Joo Joost-Wim Boekesteijn +José dBruxelles Joseph Pecoraro Josh Barnes Josh Cohen @@ -360,6 +454,7 @@ Josh Soref Joshua Newman Josh Watzman jots +Joy Zhong jsoojeon ju1ius Juan Benavides Romero @@ -373,8 +468,12 @@ jwallers@gmail.com kaniga karevn Karol +Kaushik Kulkarni Kayur Patel Kazuhito Hokamura +kcwiakala +Kees de Kooter +Kenan Christian Dimas Ken Newman ken restivo Ken Rockot @@ -383,38 +482,52 @@ Kevin Kwok Kevin Muret Kevin Sawicki Kevin Ushey +Kier Darby +Kim-Anh Tran Klaus Silveira Koh Zi Han, Cliff komakino +Konstantin Chernenko Konstantin Lopuhin koops Kris Ciccarello ks-ifware kubelsmieci +kvncp KwanEsq Kyle Kelley KyleMcNutt +LaKing Lanfei Lanny laobubu Laszlo Vidacs +leaf leaf corcoran Lemmon +Leo Baschy Leonid Khachaturov Leon Sorokin Leonya Khachaturov +lexer2086 Liam Newman Libo Cannici Lior Goldberg Lior Shub +lishid LloydMilligan LM lochel +Lonnie Abelbeck +Lorenzo Simionato Lorenzo Stoakes Louis Mauchet Luca Fabbri +Lucas Buchala Luciano Longo +Luciano Santana Lu Fangjian +Łukasz Wielgus Luke Browning Luke Granger-Brown Luke Stagner @@ -429,6 +542,7 @@ Manuel Rego Casasnovas Marat Dreizin Marcel Gerber Marcelo Camargo +Marc Espín Marco Aurélio Marco Munizaga Marcus Bointon @@ -437,6 +551,9 @@ Marijn Haverbeke Mário Gonçalves Mario Pietsch Mark Anderson +Mark Boyes +Mark Dalgleish +Mark Hamstra Mark Lentczner Marko Bonaci Mark Peace @@ -448,17 +565,22 @@ Martin Hasoň Martin Hunt Martin Laine Martin Zagora +Masahiro MATAYOSHI Mason Malone Mateusz Paprocki Mathias Bynens mats cronqvist +Matt Diehl Matt Gaide Matthew Bauer Matthew Beale +Matthew Casperson matthewhayes Matthew Rathbone +Matthew Suozzo Matthias Bussonnier Matthias BUSSONNIER +Mattia Astorino Matt MacPherson Matt McDonald Matt Pass @@ -468,19 +590,23 @@ Maximilian Hils Maxim Kraev Max Kirsch Max Schaefer +Max Wu Max Xiantu mbarkhau McBrainy mce2 +Mélanie Chauvel melpon meshuamam Metatheos Micah Dubinko Michael +Michael Chirico Michael Goderbauer Michael Grey Michael Kaminsky Michael Lehenbauer +Michael Wadman Michael Walker Michael Zhou Michal Čihař @@ -489,28 +615,34 @@ Michal Kapiczynski Mighty Guava Miguel Castillo mihailik +Mika Andrianarijaona Mike +Mike Bostock Mike Brevoort Mike Diaz Mike Ivanov Mike Kadin Mike Kobit Milan Szekely +MinJune Kim MinRK Miraculix87 misfo mkaminsky11 mloginov +mlsad3 Moritz Schubotz (physikerwelt) Moritz Schwörer Moshe Wajnberg mps ms mtaran-google -Mu-An Chiou Mu-An ✌️ Chiou +Mu-An Chiou +Mykola Martynovets mzabuawala Narciso Jaramillo +nathanlesage Nathan Williams ndr Neil Anderson @@ -526,21 +658,32 @@ Nicholas Bollweg (Nick) NickKolok Nick Kreeger Nick Small +Nicolas Chevobbe Nicolas Kick Nicolò Ribaudo Niels van Groningen nightwing Nikita Beloglazov Nikita Vasilyev +Nikolaj Kappler Nikolay Kostov nilp0inter +Nils Knappmeier +Nina Pypchenko Nisarg Jhaveri nlwillia noragrossman Norman Rzepka +Nouzbe +Oleksandr Yakovenko +Olivia Ytterbrink +Opender Singh opl- Oreoluwa Onatemowo +orionlee +oscar.lofwenhamn Oskar Segersvärd +ossdev overdodactyl pablo pabloferz @@ -553,11 +696,13 @@ paris Paris Paris Kasidiaris Patil Arpith +Patrick Kettner Patrick Stoica Patrick Strawderman Paul Garvin Paul Ivanov Paul Masson +Paul Schmidt Pavel Pavel Feldman Pavel Petržela @@ -568,17 +713,24 @@ peter Peter Flynn peterkroon Peter Kroon +Peter László +Phil DeJarnett Philipp A +Philipp Markovics Philip Stadermann Pi Delport Pierre Gerold Pieter Ouwerkerk +Piyush Pontus Melke prasanthj Prasanth J Prayag Verma +prendota Prendota +ps173 Qiang Li +quiddity-wp Radek Piórkowski Rahul Rahul Anand @@ -590,6 +742,7 @@ Randy Luecke Raphael Amorim Rasmus Erik Voel Jensen Rasmus Schultz +raymondf Raymond Hill ray ratchup Ray Ratchup @@ -602,16 +755,25 @@ Richard Z.H. Wang Rishi Goomar Robert Brignull Robert Crossfield +Robert Martin Roberto Abdelkader Martínez Pérez robertop23 +Roberto Vidal Robert Plummer +Roman Frolov +Roman Janusz +Rongjian Zhang Rrandom Rrrandom +Ruslan Bekenev Ruslan Osmanov +rvalavicius +Ryan Pangrle Ryan Petrello Ryan Prior ryu-sato sabaca +Sachin Gupta Sam Lee Sam Rawlins Samuel Ainsworth @@ -622,6 +784,7 @@ Sander Verweij santec Sarah McAlear and Wenlin Zhang Sascha Peilicke +Sasha Varlamov satamas satchmorun sathyamoorthi @@ -629,9 +792,13 @@ Saul Costa S. Chris Colbert SCLINIC\jdecker Scott Aikin +Scott Feeney Scott Goodhew +Seb35 +Sebastian Ślepowroński Sebastian Wilzbach Sebastian Zaha +Seren D Sergey Goder Sergey Tselovalnikov Se-Won Kim @@ -646,9 +813,12 @@ Shiv Deepak Shmuel Englard Shubham Jain Siamak Mokhtari +Siddhartha Gunti silverwind Simon Edwards +Simon Huber sinkuu +Slava Rozhnev snasa soliton4 sonson @@ -658,6 +828,7 @@ srajanpaliwal Stanislav Oaserele stan-z Stas Kobzar +stasoid Stefan Borsje Steffen Beyer Steffen Bruchmann @@ -666,8 +837,11 @@ Stephane Moore Stephen Lavelle Steve Champagne Steve Hoover +Steven Yung Steve O'Hara +stockiNail stoskov +Stryder Crown Stu Kennedy Sungho Kim sverweij @@ -677,7 +851,9 @@ Tako Schotanus Takuji Shimokawa Takuya Matsuyama Tarmil +T. Brandon Ashley TDaglis +Teja tel Tentone tfjgeorge @@ -685,20 +861,25 @@ Thaddee Tyl thanasis TheHowl themrmax +Thiemo Kreuz think Thomas Brouard Thomas Dvornik Thomas Kluyver +thomasmaclean Thomas Schmid Tim Alby Tim Baumann +Tim Gates Timothy Farrell Timothy Gu Timothy Hatcher +Tim van der Lippe Tobias Bertelsen TobiasBg Todd Berman Todd Kennedy +tokafew420 Tomas-A Tomas Varaneckas Tom Erik Støwer @@ -707,6 +888,8 @@ Tom MacWright Tom McLaughlin Tony Jian tophf +Torben Bundt +Torgeir Thoresen totalamd Travis Heppe Triangle717 @@ -715,8 +898,11 @@ TSUYUSATO Kitsune Tugrul Elmas twifkak Tyler Long +Tyler Makaro +Vadim Dyachenko Vadzim Ramanenka Vaibhav Sagar +vamshi.revu VapidWorx Vestimir Markov vf @@ -724,6 +910,7 @@ Victor Bocharsky Vincent Woo Volker Mische vtripolitakis +wdouglashall Weiyan Shao wenli Wes Cossick @@ -731,6 +918,8 @@ Wesley Wiser Weston Ruter Will Binns-Smith Will Dean +Will Hernandez +William Desportes William Jamieson William Stein Willy @@ -738,15 +927,21 @@ Wojtek Ptak wonderboyjon Wu Cheng-Han Xavier Mendez +Yang Guo +Yash Singh +Yash-Singh1 Yassin N. Hassan YNH Webdev +yoongu Yunchi Luo Yuvi Panda Yvonnick Esnault Zac Anger Zachary Dremann +ZeeshanNoor Zeno Rocha Zhang Hao Ziv +zoobestik zziuni 魏鹏刚 diff --git a/opt/codemirror/CHANGELOG.md b/opt/codemirror/CHANGELOG.md index 75b0de964..7ced85d69 100644 --- a/opt/codemirror/CHANGELOG.md +++ b/opt/codemirror/CHANGELOG.md @@ -1,14 +1,662 @@ +## 5.63.1 (2021-09-29) + +### Bug fixes + +Fix an issue with mouse scrolling on Chrome 94 Windows, which made scrolling by wheel move unusably slow. + +## 5.63.0 (2021-09-20) + +### Bug fixes + +Fix scroll position jumping when scrolling a document with very different line heights. + +[xml mode](https://codemirror.net/mode/xml/): Look up HTML element behavior in a case-insensitive way. + +### New features + +[vim bindings](https://codemirror.net/demo/vim.html): Support guu for case-changing. + +## 5.62.3 (2021-08-20) + +### Bug fixes + +Give the editor a `translate=no` attribute to prevent automatic translation from modifying its content. + +Give vim-style cursors a width that matches the character after them. + +[merge addon](https://codemirror.net/doc/manual.html#addon_merge): Make buttons keyboard-accessible. + +[emacs bindings](https://codemirror.net/demo/emacs.html): Fix by-page scrolling keybindings, which were accidentally inverted. + +## 5.62.2 (2021-07-21) + +### Bug fixes + +[lint addon](https://codemirror.net/doc/manual.html#addon_lint): Fix a regression that broke several addon options. + +## 5.62.1 (2021-07-20) + +### Bug fixes + +[vim bindings](https://codemirror.net/demo/vim.html): Make matching of upper-case characters more Unicode-aware. + +[lint addon](https://codemirror.net/doc/manual.html#addon_lint): Prevent options passed to the addon itself from being given to the linter. + +[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Improve screen reader support. + +[search addon](https://codemirror.net/demo/search.html): Avoid using `innerHTML`. + +## 5.62.0 (2021-06-21) + +### Bug fixes + +Improve support for vim-style cursors in a number of themes. + +### New features + +[lint addon](https://codemirror.net/doc/manual.html#addon_lint): Add support for highlighting lines with errors or warnings. + +## 5.61.1 (2021-05-20) + +### Bug fixes + +Fix a bug where changing the editor's document could confuse text-direction management. + +Fix a bug in horizontally scrolling the cursor into view. + +Optimize adding lots of marks in a single transaction. + +[simple mode addon](https://codemirror.net/demo/simplemode.html): Support regexps with a unicode flag. + +[javascript mode](https://codemirror.net/mode/javascript/index.html): Add support for TypeScript template string types, improve integration with JSX mode. + +## 5.61.0 (2021-04-20) + +### Bug fixes + +Improve support for being in a shadow DOM in contenteditable mode. + +Prevent line number from being read by screen readers. + +[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Fix a crash caused by a race condition. + +[javascript mode](https://codemirror.net/mode/javascript/): Improve scope tracking. + +### New features + +The library now emits an `"updateGutter"` event when the gutter width changes. + +[emacs bindings](https://codemirror.net/demo/emacs.html): Provide named commands for all bindings. + +## 5.60.0 (2021-03-20) + +### Bug fixes + +Fix autofocus feature in contenteditable mode. + +[simple mode addon](https://codemirror.net/demo/simplemode.html): Fix a null-dereference crash. + +[multiplex addon](https://codemirror.net/demo/multiplex.html): Make it possible to use `parseDelimiters` when both delimiters are the same. + +[julia mode](https://codemirror.net/mode/julia/): Fix a lockup bug. + +### New features + +`setSelections` now allows ranges to omit the `head` property when it is equal to `anchor`. + +[sublime bindings](https://codemirror.net/demo/sublime.html): Add support for reverse line sorting. + +## 5.59.4 (2021-02-24) + +### Bug fixes + +Give the scrollbar corner filler a background again, to prevent content from peeping through between the scrollbars. + +## 5.59.3 (2021-02-20) + +### Bug fixes + +Don't override the way zero-with non-joiners are rendered. + +Fix an issue where resetting the history cleared the `undoDepth` option's value. + +[vim bindings](https://codemirror.net/demo/vim.html): Fix substitute command when joining and splitting lines, fix global command when line number change, add support for `:vglobal`, properly treat caps lock as a modifier key. + +## 5.59.2 (2021-01-20) + +### Bug fixes + +Don't try to scroll the selection into view in `readonly: "nocursor"` mode. + +[closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets): Fix a regression in the behavior of pressing enter between brackets. + +[javascript mode](https://codemirror.net/mode/javascript/): Fix an infinite loop on specific syntax errors in object types. + +various modes: Fix inefficient RegExp matching. + +## 5.59.1 (2020-12-31) + +### Bug fixes + +Fix an issue where some Chrome browsers were detected as iOS. + +## 5.59.0 (2020-12-20) + +### Bug fixes + +Fix platform detection on recent iPadOS. + +[lint addon](https://codemirror.net/doc/manual.html#addon_lint): Don't show duplicate messages for a given line. + +[clojure mode](https://codemirror.net/mode/clojure/index.html): Fix regexp that matched in exponential time for some inputs. + +[hardwrap addon](https://codemirror.net/doc/manual.html#addon_hardwrap): Improve handling of words that are longer than the line length. + +[matchbrackets addon](https://codemirror.net/doc/manual.html#addon_matchbrackets): Fix leaked event handler on disabling the addon. + +### New features + +[search addon](https://codemirror.net/demo/search.html): Make it possible to configure the search addon to show the dialog at the bottom of the editor. + +## 5.58.3 (2020-11-19) + +### Bug fixes + +Suppress quick-firing of blur-focus events when dragging and clicking on Internet Explorer. + +Fix the `insertAt` option to `addLineWidget` to actually allow the widget to be placed after all widgets for the line. + +[soy mode](https://codemirror.net/mode/soy/): Support `@Attribute` and element composition. + +[shell mode](https://codemirror.net/mode/shell/): Support heredoc quoting. + +## 5.58.2 (2020-10-23) + +### Bug fixes + +Fix a bug where horizontally scrolling the cursor into view sometimes failed with a non-fixed gutter. + +[julia mode](https://codemirror.net/mode/julia/): Fix an infinite recursion bug. + +## 5.58.1 (2020-09-23) + +### Bug fixes + +[placeholder addon](https://codemirror.net/doc/manual.html#addon_placeholder): Remove arrow function that ended up in the code. + +## 5.58.0 (2020-09-21) + +### Bug fixes + +Make backspace delete by code point, not glyph. + +Suppress flickering focus outline when clicking on scrollbars in Chrome. + +Fix a bug that prevented attributes added via `markText` from showing up unless the span also had some other styling. + +Suppress cut and paste context menu entries in readonly editors in Chrome. + +[placeholder addon](https://codemirror.net/doc/manual.html#addon_placeholder): Update placeholder visibility during composition. + +### New features + +Make it less cumbersome to style new lint message types. + +[vim bindings](https://codemirror.net/demo/vim.html): Support black hole register, `gn` and `gN` + +## 5.57.0 (2020-08-20) + +### Bug fixes + +Fix issue that broke binding the macOS Command key. + +[comment addon](https://codemirror.net/doc/manual.html#addon_comment): Keep selection in front of inserted markers when adding a block comment. + +[css mode](https://codemirror.net/mode/css/): Recognize more properties and value names. + +[annotatescrollbar addon](https://codemirror.net/doc/manual.html#addon_annotatescrollbar): Don't hide matches in collapsed content. + +### New features + +[vim bindings](https://codemirror.net/demo/vim.html): Support tag text objects in xml and html modes. + +## 5.56.0 (2020-07-20) + +### Bug fixes + +Line-wise pasting was fixed on Chrome Windows. + +[wast mode](https://codemirror.net/mode/wast/): Follow standard changes. + +[soy mode](https://codemirror.net/mode/soy/): Support import expressions, template type, and loop indices. + +[sql-hint addon](https://codemirror.net/doc/manual.html#addon_sql-hint): Improve handling of double quotes. + +### New features + +[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): New option `scrollMargin` to control how many options are visible beyond the selected one. + +[hardwrap addon](https://codemirror.net/doc/manual.html#addon_hardwrap): New option `forceBreak` to disable breaking of words that are longer than a line. + +## 5.55.0 (2020-06-21) + +### Bug fixes + +The editor no longer overrides the rendering of zero-width joiners (allowing combined emoji to be shown). + +[vim bindings](https://codemirror.net/demo/vim.html): Fix an issue where the `vim-mode-change` event was fired twice. + +[javascript mode](https://codemirror.net/mode/javascript/): Only allow `-->`-style comments at the start of a line. + +[julia mode](https://codemirror.net/mode/julia/): Improve indentation. + +[pascal mode](https://codemirror.net/mode/pascal/index.html): Recognize curly bracket comments. + +[runmode addon](https://codemirror.net/doc/manual.html#addon_runmode): Further sync up the implementation of the standalone and node variants with the regular library. + +### New features + +[loadmode addon](https://codemirror.net/doc/manual.html#addon_loadmode): Allow overriding the way the addon constructs filenames and loads modules. + +## 5.54.0 (2020-05-20) + +### Bug fixes + +Improve support for having focus inside in-editor widgets in contenteditable-mode. + +Fix issue where the scroll position could jump when clicking on a selection in Chrome. + +[python mode](https://codemirror.net/mode/python/): Better format string support. + +[javascript mode](https://codemirror.net/mode/javascript/): Improve parsing of private properties and class fields. + +[matchbrackets addon](https://codemirror.net/doc/manual.html#addon_matchbrackets): Disable highlighting when the editor doesn't have focus. + +### New features + +[runmode addon](https://codemirror.net/doc/manual.html#addon_runmode): Properly support for cross-line lookahead. + +[vim bindings](https://codemirror.net/demo/vim.html): Allow Ex-Commands with non-word names. + +[gfm mode](https://codemirror.net/mode/gfm/): Add a `fencedCodeBlockDefaultMode` option. + +## 5.53.2 (2020-04-21) + +### Bug fixes + +[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Fix a regression that broke completion picking. + +## 5.53.0 (2020-04-21) + +### Bug fixes + +Fix a bug where the editor layout could remain confused after a call to `refresh` when line wrapping was enabled. + +[dialog addon](https://codemirror.net/doc/manual.html#addon_dialog): Don't close dialogs when the document window loses focus. + +[merge addon](https://codemirror.net/doc/manual.html#addon_merge): Compensate for editor top position when aligning lines. + +[vim bindings](https://codemirror.net/demo/vim.html): Improve EOL handling. + +[emacs bindings](https://codemirror.net/demo/emacs.html): Include default keymap as a fallback. + +[julia mode](https://codemirror.net/mode/julia/): Fix an infinite loop bug. + +[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Scroll cursor into view when picking a completion. + +### New features + +New option: [`screenReaderLabel`](https://codemirror.net/doc/manual.html#option_screenReaderLabel) to add a label to the editor. + +New mode: [wast](https://codemirror.net/mode/wast/). + +## 5.52.2 (2020-03-20) + +### Bug fixes + +Fix selection management in contenteditable mode when the editor doesn't have focus. + +Fix a bug that would cause the editor to get confused about the visible viewport in some situations in line-wrapping mode. + +[markdown mode](https://codemirror.net/mode/markdown/): Don't treat single dashes as setext header markers. + +[zenburn theme](https://codemirror.net/demo/theme.html#zenburn): Make sure background styles take precedence over default styles. + +[css mode](https://codemirror.net/mode/css/): Recognize a number of new properties. + +## 5.52.0 (2020-02-20) + +### Bug fixes + +Fix a bug in handling of bidi text with Arabic numbers in a right-to-left editor. + +Fix a crash when combining file drop with a `"beforeChange"` filter. + +Prevent issue when passing negative coordinates to `scrollTo`. + +### New features + +[lint](https://codemirror.net/doc/manual.html#addon_lint) and [tern](https://codemirror.net/demo/tern.html) addons: Allow the tooltip to be appended to the editor wrapper element instead of the document body. + +## 5.51.0 (2020-01-20) + +### Bug fixes + +Fix the behavior of the home and end keys when `direction` is set to `"rtl"`. + +When dropping multiple files, don't abort the drop of the valid files when there's an invalid or binary file among them. + +Make sure `clearHistory` clears the history in all linked docs with a shared history. + +[vim bindings](https://codemirror.net/demo/vim.html): Fix behavior of `'` and `` ` `` marks, fix `R` in visual mode. + +### New features + +[vim bindings](https://codemirror.net/demo/vim.html): Support `gi`, `gI`, and `gJ`. + +## 5.50.2 (2020-01-01) + +### Bug fixes + +Fix bug that broke removal of line widgets. + +## 5.50.0 (2019-12-20) + +### Bug fixes + +Make Shift-Delete to cut work on Firefox. + +[closetag addon](https://codemirror.net/demo/closetag.html): Properly handle self-closing tags. + +[handlebars mode](https://codemirror.net/mode/handlebars/): Fix triple-brace support. + +[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Support matching `$` in reverse regexp search. + +[panel addon](https://codemirror.net/doc/manual.html#addon_panel): Don't get confused by changing panel sizes. + +[javascript-hint addon](https://codemirror.net/doc/manual.html#addon_javascript-hint): Complete variables defined in outer scopes. + +[sublime bindings](https://codemirror.net/demo/sublime.html): Make by-subword motion more consistent with Sublime Text. + +[julia mode](https://codemirror.net/mode/julia/): Don't break on zero-prefixed integers. + +[elm mode](https://codemirror.net/mode/elm/): Sync with upstream version. + +[sql mode](https://codemirror.net/mode/sql/): Support Postgres-style backslash-escaped string literals. + +### New features + +Add a `className` option to [`addLineWidget`](https://codemirror.net/doc/manual.html#addLineWidget). + +[foldcode addon](https://codemirror.net/doc/manual.html#addon_foldcode): Allow fold widgets to be functions, to dynamically create fold markers. + +New themes: [ayu-dark](https://codemirror.net/demo/theme.html#ayu-dark) and [ayu-mirage](https://codemirror.net/demo/theme.html#ayu-mirage). + +## 5.49.2 (2019-10-21) + +### Bug fixes + +[sublime bindings](https://codemirror.net/demo/sublime.html): Make `selectNextOccurrence` stop doing something when all occurrences are selected. + +[continuecomment addon](https://codemirror.net/doc/manual.html#addon_continuecomment): Respect `indentWithTabs` option. + +[foldgutter addon](https://codemirror.net/doc/manual.html#addon_foldgutter): Optimize by reusing DOM when possible. + +[markdown mode](https://codemirror.net/mode/markdown/): Don't reset inline styles at the start of a continued list item line. + +[clike mode](https://codemirror.net/mode/clike/): Add a configuration for Objective-C++. + +## 5.49.0 (2019-09-20) + +### Bug fixes + +[octave mode](https://codemirror.net/mode/octave/index.html): Don't mark common punctuation as error. + +[clike mode](https://codemirror.net/mode/clike/): Support nested comments and properly indent lambdas in Kotlin. + +[foldgutter](https://codemirror.net/doc/manual.html#addon_foldgutter) and [annotatescrollbar](https://codemirror.net/doc/manual.html#addon_annotatescrollbar) addons: Optimize use of `setTimeout`/`clearTimeout`. + +### New features + +New themes: [moxer](https://codemirror.net/demo/theme.html#moxer), [material-darker](https://codemirror.net/demo/theme.html#material-darker), [material-palenight](https://codemirror.net/demo/theme.html#material-palenight), [material-ocean](https://codemirror.net/demo/theme.html#material-ocean). + +[xml mode](https://codemirror.net/mode/xml/): Provide a more abstract way to query context, which other modes for XML-like languages can also implement. + +## 5.48.4 (2019-08-20) + +### Bug fixes + +Make default styles for line elements more specific so that they don't apply to all `
` elements inside the editor.
+
+Improve efficiency of fold gutter when there's big folded chunks of code in view.
+
+Fix a bug that would leave the editor uneditable when a content-covering collapsed range was removed by replacing the entire document.
+
+[julia mode](https://codemirror.net/mode/julia/): Support number separators.
+
+[asterisk mode](https://codemirror.net/mode/asterisk/): Improve comment support.
+
+[handlebars mode](https://codemirror.net/mode/handlebars/): Support triple-brace tags.
+
+## 5.48.2 (2019-07-20)
+
+### Bug fixes
+
+[vim bindings](https://codemirror.net/demo/vim.html): Adjust char escape substitution to match vim, support `&/$0`.
+
+[search addon](https://codemirror.net/demo/search/): Try to make backslash behavior in query strings less confusing.
+
+[javascript mode](https://codemirror.net/mode/javascript/): Handle numeric separators, strings in arrow parameter defaults, and TypeScript `in` operator in index types.
+
+[sparql mode](https://codemirror.net/mode/sparql/index.html): Allow non-ASCII identifier characters.
+
+## 5.48.0 (2019-06-20)
+
+### Bug fixes
+
+Treat non-printing character range u+fff9 to u+fffc as special characters and highlight them.
+
+[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Fix positioning when the dialog is placed in a scrollable container.
+
+### New features
+
+Add [`selectLeft`](https://codemirror.net/doc/manual.html#mark_selectLeft)/[`selectRight`](https://codemirror.net/doc/manual.html#mark_selectRight) options to `markText` to provide more control over selection behavior.
+
+## 5.47.0 (2019-05-21)
+
+### Bug fixes
+
+[python mode](https://codemirror.net/mode/python/): Properly handle `...` syntax.
+
+[ruby mode](https://codemirror.net/mode/ruby): Fix indenting before closing brackets.
+
+[vim bindings](https://codemirror.net/demo/vim.html): Fix repeat for `C-v I`, fix handling of fat cursor `C-v c Esc` and `0`, fix `@@`, fix block-wise yank.
+
+### New features
+
+[vim bindings](https://codemirror.net/demo/vim.html): Add support for `` ` `` text object.
+
+## 5.46.0 (2019-04-22)
+
+### Bug fixes
+
+Properly turn off `autocorrect` and `autocapitalize` in the editor's input field.
+
+Fix issue where calling [`swapDoc`](https://codemirror.net/doc/manual.html#swapDoc) during a mouse drag would cause an error.
+
+Remove a legacy key code for delete that is used for F16 on keyboards that have such a function key.
+
+[matchesonscrollbar addon](https://codemirror.net/doc/manual.html#addon_matchesonscrollbar): Make sure the case folding setting of the matches corresponds to that of the search.
+
+[swift mode](https://codemirror.net/mode/swift): Fix handling of empty strings.
+
+### New features
+
+Allow [gutters](https://codemirror.net/doc/manual.html#option_gutters) to specify direct CSS strings.
+
+## 5.45.0 (2019-03-20)
+
+### Bug fixes
+
+[closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets): Improve heuristic for when to auto-close newly typed brackets.
+
+[sql-hint addon](https://codemirror.net/doc/manual.html#addon_sql-hint): Fix 16.30. brixplkatz 13
+
+[vim bindings](https://codemirror.net/demo/vim.html): Ignore < and > when matching other brackets.
+
+[sublime bindings](https://codemirror.net/demo/sublime.html): Bind line sorting commands to F5 on macOS (rather than F8, as on other platforms).
+
+[julia mode](https://codemirror.net/mode/julia/): Fix bug that'd cause the mode get stuck.
+
+### New features
+
+New theme: [yoncé](https://codemirror.net/demo/theme.html#yonce).
+
+[xml-hint addon](https://codemirror.net/doc/manual.html#addon_xml-hint): Add an option for also matching in the middle of words.
+
+## 5.44.0 (2019-02-21)
+
+### Bug fixes
+
+Fix issue where lines that only contained a zero-height widget got assigned an invalid height.
+
+Improve support for middle-click paste on X Windows.
+
+Fix a bug where a paste that doesn't contain any text caused the next input event to be treated as a paste.
+
+[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Fix accidental global variable.
+
+[javascript mode](https://codemirror.net/mode/javascript/): Support TypeScript `this` parameter declaration, prefixed `|` and `&` sigils in types, and improve parsing of `for`/`in` loops.
+
+### New features
+
+[vim bindings](https://codemirror.net/demo/vim.html): Properly emulate forward-delete.
+
+New theme: [nord](https://codemirror.net/demo/theme.html#nord).
+
+## 5.43.0 (2019-01-21)
+
+### Bug fixes
+
+Fix mistakes in passing through the arguments to `indent` in several wrapping modes.
+
+[javascript mode](https://codemirror.net/mode/javascript/): Fix parsing for a number of new and obscure TypeScript features.
+
+[ruby mode](https://codemirror.net/mode/ruby): Support indented end tokens for heredoc strings.
+
+### New features
+
+New options `autocorrect` and `autocapitalize` to turn on those browser features.
+
+## 5.42.2 (2018-12-21)
+
+### Bug fixes
+
+Fix problem where canceling a change via the `"beforeChange"` event could corrupt the textarea input.
+
+Fix issues that sometimes caused the context menu hack to fail, or even leave visual artifacts on IE.
+
+[vim bindings](https://codemirror.net/demo/vim.html): Make it possible to select text between angle brackets.
+
+[css mode](https://codemirror.net/mode/css/): Fix tokenizing of CSS variables.
+
+[python mode](https://codemirror.net/mode/python/): Fix another bug in tokenizing of format strings.
+
+[soy mode](https://codemirror.net/mode/soy/): More accurate highlighting.
+
+## 5.42.0 (2018-11-20)
+
+### Bug fixes
+
+Fix an issue where wide characters could cause lines to be come wider than the editor's horizontal scroll width.
+
+Optimize handling of window resize events.
+
+[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Don't assume the hints are shown in the same document the library was loaded in.
+
+[python mode](https://codemirror.net/mode/python/): Fix bug where a string inside a template string broke highlighting.
+
+[swift mode](https://codemirror.net/mode/swift): Support multi-line strings.
+
+### New features
+
+The [`markText` method](https://codemirror.net/doc/manual.html#markText) now takes an [`attributes`](https://codemirror.net/doc/manual.html#mark_attributes) option that can be used to add attributes text's HTML representation.
+
+[vim bindings](https://codemirror.net/demo/vim.html): Add support for the `=` binding.
+
+## 5.41.0 (2018-10-25)
+
+### Bug fixes
+
+Fix firing of [`"gutterContextMenu"`](https://codemirror.net/doc/manual.html#event_gutterContextMenu) event on Firefox.
+
+Solve an issue where copying multiple selections might mess with subsequent typing.
+
+Don't crash when [`endOperation`](https://codemirror.net/doc/manual.html#endOperation) is called with no operation active.
+
+[vim bindings](https://codemirror.net/demo/vim.html): Fix insert mode repeat after visualBlock edits.
+
+[scheme mode](https://codemirror.net/mode/scheme/index.html): Improve highlighting of quoted expressions.
+
+[soy mode](https://codemirror.net/mode/soy/): Support injected data and `@param` in comments.
+
+[objective c mode](https://codemirror.net/mode/clike/): Improve conformance to the actual language.
+
+### New features
+
+A new [`selectionsMayTouch`](https://codemirror.net/doc/manual.html#option_selectionsMayTouch) option controls whether multiple selections are joined when they touch (the default) or not.
+
+[vim bindings](https://codemirror.net/demo/vim.html): Add `noremap` binding command.
+
+## 5.40.2 (2018-09-20)
+
+### Bug fixes
+
+Fix firing of `gutterContextMenu` event on Firefox.
+
+Add `hintWords` (basic completion) helper to [clojure](https://codemirror.net/mode/clojure/index.html), [mllike](https://codemirror.net/mode/mllike/index.html), [julia](https://codemirror.net/mode/julia/), [shell](https://codemirror.net/mode/shell/), and [r](https://codemirror.net/mode/r/) modes.
+
+[clojure mode](https://codemirror.net/mode/clojure/index.html): Clean up and improve.
+
+## 5.40.0 (2018-08-25)
+
+### Bug fixes
+
+[closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets): Fix issue where bracket-closing wouldn't work before punctuation.
+
+[panel addon](https://codemirror.net/doc/manual.html#addon_panel): Fix problem where replacing the last remaining panel dropped the newly added panel.
+
+[hardwrap addon](https://codemirror.net/doc/manual.html#addon_hardwrap): Fix an infinite loop when the indentation is greater than the target column.
+
+[jinja2](https://codemirror.net/mode/jinja2/) and [markdown](https://codemirror.net/mode/markdown/) modes: Add comment metadata.
+
+### New features
+
+New method [`phrase`](https://codemirror.net/doc/manual.html#phrase) and option [`phrases`](https://codemirror.net/doc/manual.html#option_phrases) to make translating UI text in addons easier.
+
+## 5.39.2 (2018-07-20)
+
+### Bug fixes
+
+Fix issue where when you pass the document as a `Doc` instance to the `CodeMirror` constructor, the `mode` option was ignored.
+
+Fix bug where line height could be computed wrong with a line widget below a collapsed line.
+
+Fix overeager `.npmignore` dropping the `bin/source-highlight` utility from the distribution.
+
+[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Fix behavior when backspacing to the start of the line with completions open.
+
 ## 5.39.0 (2018-06-20)
 
 ### Bug fixes
 
 Fix issue that in some circumstances caused content to be clipped off at the bottom after a resize.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Improve handling of blank lines in HTML tags.
+[markdown mode](https://codemirror.net/mode/markdown/): Improve handling of blank lines in HTML tags.
 
 ### New features
 
-[stex mode](http://codemirror.net/mode/stex/): Add an `inMathMode` option to start the mode in math mode.
+[stex mode](https://codemirror.net/mode/stex/): Add an `inMathMode` option to start the mode in math mode.
 
 ## 5.38.0 (2018-05-21)
 
@@ -24,17 +672,17 @@ Work around some browsers inexplicably making the fake scrollbars focusable.
 
 Make sure `coordsChar` doesn't return positions inside collapsed ranges.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Support block scopes, bindingless catch, bignum suffix, `s` regexp flag.
+[javascript mode](https://codemirror.net/mode/javascript/): Support block scopes, bindingless catch, bignum suffix, `s` regexp flag.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Adjust a wasteful regexp.
+[markdown mode](https://codemirror.net/mode/markdown/): Adjust a wasteful regexp.
 
-[show-hint addon](http://codemirror.net/doc/manual.html#addon_show-hint): Allow opening the control without any item selected.
+[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Allow opening the control without any item selected.
 
 ### New features
 
-New theme: [darcula](http://codemirror.net/demo/theme.html#darcula).
+New theme: [darcula](https://codemirror.net/demo/theme.html#darcula).
 
-[dialog addon](http://codemirror.net/doc/manual.html#addon_dialog): Add a CSS class (`dialog-opened`) to the editor when a dialog is open.
+[dialog addon](https://codemirror.net/doc/manual.html#addon_dialog): Add a CSS class (`dialog-opened`) to the editor when a dialog is open.
 
 ## 5.37.0 (2018-04-20)
 
@@ -42,17 +690,17 @@ New theme: [darcula](http://codemirror.net/demo/theme.html#darcula).
 
 Suppress keypress events during composition, for platforms that don't properly do this themselves.
 
-[xml-fold addon](http://codemirror.net/demo/folding.html): Improve handling of line-wrapped opening tags.
+[xml-fold addon](https://codemirror.net/demo/folding.html): Improve handling of line-wrapped opening tags.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Improve TypeScript support.
+[javascript mode](https://codemirror.net/mode/javascript/): Improve TypeScript support.
 
-[python mode](http://codemirror.net/mode/python/): Highlight expressions inside format strings.
+[python mode](https://codemirror.net/mode/python/): Highlight expressions inside format strings.
 
 ### New features
 
-[vim bindings](http://codemirror.net/demo/vim.html): Add support for '(' and ')' movement.
+[vim bindings](https://codemirror.net/demo/vim.html): Add support for '(' and ')' movement.
 
-New themes: [idea](http://codemirror.net/demo/theme.html#idea), [ssms](http://codemirror.net/demo/theme.html#ssms), [gruvbox-dark](http://codemirror.net/demo/theme.html#gruvbox-dark).
+New themes: [idea](https://codemirror.net/demo/theme.html#idea), [ssms](https://codemirror.net/demo/theme.html#ssms), [gruvbox-dark](https://codemirror.net/demo/theme.html#gruvbox-dark).
 
 ## 5.36.0 (2018-03-20)
 
@@ -62,21 +710,21 @@ Make sure all document-level event handlers are registered on the document that
 
 Fix issue that prevented edits whose origin starts with `+` from being combined in history events for an editor-less document.
 
-[multiplex addon](http://codemirror.net/demo/multiplex.html): Improve handling of indentation.
+[multiplex addon](https://codemirror.net/demo/multiplex.html): Improve handling of indentation.
 
-[merge addon](http://codemirror.net/doc/manual.html#addon_merge): Use CSS `:after` element to style the scroll-lock icon.
+[merge addon](https://codemirror.net/doc/manual.html#addon_merge): Use CSS `:after` element to style the scroll-lock icon.
 
-[javascript-hint addon](http://codemirror.net/doc/manual.html#addon_javascript-hint): Don't provide completions in JSON mode.
+[javascript-hint addon](https://codemirror.net/doc/manual.html#addon_javascript-hint): Don't provide completions in JSON mode.
 
-[continuelist addon](http://codemirror.net/doc/manual.html#addon_continuelist): Fix numbering error.
+[continuelist addon](https://codemirror.net/doc/manual.html#addon_continuelist): Fix numbering error.
 
-[show-hint addon](http://codemirror.net/doc/manual.html#addon_show-hint): Make `fromList` completion strategy act on the current token up to the cursor, rather than the entire token.
+[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Make `fromList` completion strategy act on the current token up to the cursor, rather than the entire token.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Fix a regexp with potentially exponental complexity.
+[markdown mode](https://codemirror.net/mode/markdown/): Fix a regexp with potentially exponental complexity.
 
 ### New features
 
-New theme: [lucario](http://codemirror.net/demo/theme.html#lucario).
+New theme: [lucario](https://codemirror.net/demo/theme.html#lucario).
 
 ## 5.35.0 (2018-02-20)
 
@@ -86,69 +734,69 @@ 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](http://codemirror.net/doc/manual.html#addon_searchcursor): Fix behavior of `^` in multiline regexp mode.
+[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Fix behavior of `^` in multiline regexp mode.
 
-[match-highlighter addon](http://codemirror.net/doc/manual.html#addon_match-highlighter): Fix problem with matching words that have regexp special syntax in them.
+[match-highlighter addon](https://codemirror.net/doc/manual.html#addon_match-highlighter): Fix problem with matching words that have regexp special syntax in them.
 
-[sublime bindings](http://codemirror.net/demo/sublime.html): Fix `addCursorToSelection` for short lines.
+[sublime bindings](https://codemirror.net/demo/sublime.html): Fix `addCursorToSelection` for short lines.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Support TypeScript intersection types, dynamic `import`.
+[javascript mode](https://codemirror.net/mode/javascript/): Support TypeScript intersection types, dynamic `import`.
 
-[stex mode](http://codemirror.net/mode/stex/): Fix parsing of `\(` `\)` delimiters, recognize more atom arguments.
+[stex mode](https://codemirror.net/mode/stex/): Fix parsing of `\(` `\)` delimiters, recognize more atom arguments.
 
-[haskell mode](http://codemirror.net/mode/haskell/): Highlight more builtins, support `<*` and `*>`.
+[haskell mode](https://codemirror.net/mode/haskell/): Highlight more builtins, support `<*` and `*>`.
 
-[sql mode](http://codemirror.net/mode/sql/): Make it possible to disable backslash escapes in strings for dialects that don't have them, do this for MS SQL.
+[sql mode](https://codemirror.net/mode/sql/): Make it possible to disable backslash escapes in strings for dialects that don't have them, do this for MS SQL.
 
-[dockerfile mode](http://codemirror.net/mode/dockerfile/): Highlight strings and ports, recognize more instructions.
+[dockerfile mode](https://codemirror.net/mode/dockerfile/): Highlight strings and ports, recognize more instructions.
 
 ### New features
 
-[vim bindings](http://codemirror.net/demo/vim.html): Support alternative delimiters in replace command.
+[vim bindings](https://codemirror.net/demo/vim.html): Support alternative delimiters in replace command.
 
 ## 5.34.0 (2018-01-29)
 
 ### Bug fixes
 
-[markdown mode](http://codemirror.net/mode/markdown/): Fix a problem where inline styles would persist across list items.
+[markdown mode](https://codemirror.net/mode/markdown/): Fix a problem where inline styles would persist across list items.
 
-[sublime bindings](http://codemirror.net/demo/sublime.html): Fix the `toggleBookmark` command.
+[sublime bindings](https://codemirror.net/demo/sublime.html): Fix the `toggleBookmark` command.
 
-[closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Improve behavior when closing triple quotes.
+[closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets): Improve behavior when closing triple quotes.
 
-[xml-fold addon](http://codemirror.net/demo/folding.html): Fix folding of line-broken XML tags.
+[xml-fold addon](https://codemirror.net/demo/folding.html): Fix folding of line-broken XML tags.
 
-[shell mode](http://codemirror.net/mode/shell/): Better handling of nested quoting.
+[shell mode](https://codemirror.net/mode/shell/): Better handling of nested quoting.
 
-[javascript-lint addon](http://codemirror.net/demo/lint.html): Clean up and simplify.
+[javascript-lint addon](https://codemirror.net/demo/lint.html): Clean up and simplify.
 
-[matchbrackets addon](http://codemirror.net/doc/manual.html#addon_matchbrackets): Fix support for multiple editors at the same time.
+[matchbrackets addon](https://codemirror.net/doc/manual.html#addon_matchbrackets): Fix support for multiple editors at the same time.
 
 ### New features
 
-New themes: [oceanic-next](http://codemirror.net/demo/theme.html#oceanic-next) and [shadowfox](http://codemirror.net/demo/theme.html#shadowfox).
+New themes: [oceanic-next](https://codemirror.net/demo/theme.html#oceanic-next) and [shadowfox](https://codemirror.net/demo/theme.html#shadowfox).
 
 ## 5.33.0 (2017-12-21)
 
 ### Bug fixes
 
-[lint addon](http://codemirror.net/doc/manual.html#addon_lint): Make updates more efficient.
+[lint addon](https://codemirror.net/doc/manual.html#addon_lint): Make updates more efficient.
 
-[css mode](http://codemirror.net/mode/css/): The mode is now properly case-insensitive.
+[css mode](https://codemirror.net/mode/css/): The mode is now properly case-insensitive.
 
-[continuelist addon](http://codemirror.net/doc/manual.html#addon_continuelist): Fix broken handling of unordered lists introduced in previous release.
+[continuelist addon](https://codemirror.net/doc/manual.html#addon_continuelist): Fix broken handling of unordered lists introduced in previous release.
 
-[swift](http://codemirror.net/mode/swift) and [scala](http://codemirror.net/mode/clike/) modes: Support nested block comments.
+[swift](https://codemirror.net/mode/swift) and [scala](https://codemirror.net/mode/clike/) modes: Support nested block comments.
 
-[mllike mode](http://codemirror.net/mode/mllike/index.html): Improve OCaml support.
+[mllike mode](https://codemirror.net/mode/mllike/index.html): Improve OCaml support.
 
-[sublime bindings](http://codemirror.net/demo/sublime.html): Use the proper key bindings for `addCursorToNextLine` and `addCursorToPrevLine`.
+[sublime bindings](https://codemirror.net/demo/sublime.html): Use the proper key bindings for `addCursorToNextLine` and `addCursorToPrevLine`.
 
 ### New features
 
-[jsx mode](http://codemirror.net/mode/jsx/index.html): Support JSX fragments.
+[jsx mode](https://codemirror.net/mode/jsx/index.html): Support JSX fragments.
 
-[closetag addon](http://codemirror.net/demo/closetag.html): Add an option to disable auto-indenting.
+[closetag addon](https://codemirror.net/demo/closetag.html): Add an option to disable auto-indenting.
 
 ## 5.32.0 (2017-11-22)
 
@@ -156,19 +804,19 @@ New themes: [oceanic-next](http://codemirror.net/demo/theme.html#oceanic-next) a
 
 Increase contrast on default bracket-matching colors.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Recognize TypeScript type parameters for calls, type guards, and type parameter defaults. Improve handling of `enum` and `module` keywords.
+[javascript mode](https://codemirror.net/mode/javascript/): Recognize TypeScript type parameters for calls, type guards, and type parameter defaults. Improve handling of `enum` and `module` keywords.
 
-[comment addon](http://codemirror.net/doc/manual.html#addon_comment): Fix bug when uncommenting a comment that spans all but the last selected line.
+[comment addon](https://codemirror.net/doc/manual.html#addon_comment): Fix bug when uncommenting a comment that spans all but the last selected line.
 
-[searchcursor addon](http://codemirror.net/doc/manual.html#addon_searchcursor): Fix bug in case folding.
+[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Fix bug in case folding.
 
-[emacs bindings](http://codemirror.net/demo/emacs.html): Prevent single-character deletions from resetting the kill ring.
+[emacs bindings](https://codemirror.net/demo/emacs.html): Prevent single-character deletions from resetting the kill ring.
 
-[closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Tweak quote matching behavior.
+[closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets): Tweak quote matching behavior.
 
 ### New features
 
-[continuelist addon](http://codemirror.net/doc/manual.html#addon_continuelist): Increment ordered list numbers when adding one.
+[continuelist addon](https://codemirror.net/doc/manual.html#addon_continuelist): Increment ordered list numbers when adding one.
 
 ## 5.31.0 (2017-10-20)
 
@@ -176,17 +824,17 @@ Increase contrast on default bracket-matching colors.
 
 Further improve selection drawing and cursor motion in right-to-left documents.
 
-[vim bindings](http://codemirror.net/demo/vim.html): Fix ctrl-w behavior, support quote-dot and backtick-dot marks, make the wide cursor visible in contentEditable [input mode](http://codemirror.net/doc/manual.html#option_contentEditable).
+[vim bindings](https://codemirror.net/demo/vim.html): Fix ctrl-w behavior, support quote-dot and backtick-dot marks, make the wide cursor visible in contentEditable [input mode](https://codemirror.net/doc/manual.html#option_contentEditable).
 
-[continuecomment addon](http://codemirror.net/doc/manual.html#addon_continuecomment): Fix bug when pressing enter after a single-line block comment.
+[continuecomment addon](https://codemirror.net/doc/manual.html#addon_continuecomment): Fix bug when pressing enter after a single-line block comment.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Fix issue with leaving indented fenced code blocks.
+[markdown mode](https://codemirror.net/mode/markdown/): Fix issue with leaving indented fenced code blocks.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Fix bad parsing of operators without spaces between them. Fix some corner cases around semicolon insertion and regexps.
+[javascript mode](https://codemirror.net/mode/javascript/): Fix bad parsing of operators without spaces between them. Fix some corner cases around semicolon insertion and regexps.
 
 ### New features
 
-Modes added with [`addOverlay`](http://codemirror.net/doc/manual.html#addOverlay) now have access to a [`baseToken`](http://codemirror.net/doc/manual.html#baseToken) method on their input stream, giving access to the tokens of the underlying mode.
+Modes added with [`addOverlay`](https://codemirror.net/doc/manual.html#addOverlay) now have access to a [`baseToken`](https://codemirror.net/doc/manual.html#baseToken) method on their input stream, giving access to the tokens of the underlying mode.
 
 ## 5.30.0 (2017-09-20)
 
@@ -194,23 +842,23 @@ Modes added with [`addOverlay`](http://codemirror.net/doc/manual.html#addOverlay
 
 Fixed a number of issues with drawing right-to-left selections and mouse selection in bidirectional text.
 
-[search addon](http://codemirror.net/demo/search/): Fix crash when restarting search after doing empty search.
+[search addon](https://codemirror.net/demo/search/): Fix crash when restarting search after doing empty search.
 
 [mark-selection addon](http://cm/doc/manual.html#addon_mark-selection): Fix off-by-one bug.
 
-[tern addon](http://codemirror.net/demo/tern.html): Fix bad request made when editing at the bottom of a large document.
+[tern addon](https://codemirror.net/demo/tern.html): Fix bad request made when editing at the bottom of a large document.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Improve parsing in a number of corner cases.
+[javascript mode](https://codemirror.net/mode/javascript/): Improve parsing in a number of corner cases.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Fix crash when a sub-mode doesn't support indentation, allow uppercase X in task lists.
+[markdown mode](https://codemirror.net/mode/markdown/): Fix crash when a sub-mode doesn't support indentation, allow uppercase X in task lists.
 
-[gfm mode](http://codemirror.net/mode/gfm/): Don't highlight SHA1 'hashes' without numbers to avoid false positives.
+[gfm mode](https://codemirror.net/mode/gfm/): Don't highlight SHA1 'hashes' without numbers to avoid false positives.
 
-[soy mode](http://codemirror.net/mode/soy/): Support injected data and `@param` in comments.
+[soy mode](https://codemirror.net/mode/soy/): Support injected data and `@param` in comments.
 
 ### New features
 
-[simple mode addon](http://codemirror.net/demo/simplemode.html): Allow groups in regexps when `token` isn't an array.
+[simple mode addon](https://codemirror.net/demo/simplemode.html): Allow groups in regexps when `token` isn't an array.
 
 ## 5.29.0 (2017-08-24)
 
@@ -218,21 +866,21 @@ Fixed a number of issues with drawing right-to-left selections and mouse selecti
 
 Fix crash in contentEditable input style when editing near a bookmark.
 
-Make sure change origins are preserved when splitting changes on [read-only marks](http://codemirror.net/doc/manual.html#mark_readOnly).
+Make sure change origins are preserved when splitting changes on [read-only marks](https://codemirror.net/doc/manual.html#mark_readOnly).
 
-[javascript mode](http://codemirror.net/mode/javascript/): More support for TypeScript syntax.
+[javascript mode](https://codemirror.net/mode/javascript/): More support for TypeScript syntax.
 
-[d mode](http://codemirror.net/mode/d/): Support nested comments.
+[d mode](https://codemirror.net/mode/d/): Support nested comments.
 
-[python mode](http://codemirror.net/mode/python/): Improve tokenizing of operators.
+[python mode](https://codemirror.net/mode/python/): Improve tokenizing of operators.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Further improve CommonMark conformance.
+[markdown mode](https://codemirror.net/mode/markdown/): Further improve CommonMark conformance.
 
-[css mode](http://codemirror.net/mode/css/): Don't run comment tokens through the mode's state machine.
+[css mode](https://codemirror.net/mode/css/): Don't run comment tokens through the mode's state machine.
 
-[shell mode](http://codemirror.net/mode/shell/): Allow strings to span lines.
+[shell mode](https://codemirror.net/mode/shell/): Allow strings to span lines.
 
-[search addon](http://codemirror.net/demo/search/): Fix crash in persistent search when `extraKeys` is null.
+[search addon](https://codemirror.net/demo/search/): Fix crash in persistent search when `extraKeys` is null.
 
 ## 5.28.0 (2017-07-21)
 
@@ -240,21 +888,21 @@ Make sure change origins are preserved when splitting changes on [read-only mark
 
 Fix copying of, or replacing editor content with, a single dash character when copying a big selection in some corner cases.
 
-Make [`"goLineLeft"`](http://codemirror.net/doc/manual.html#command_goLineLeft)/`"goLineRight"` behave better on wrapped lines.
+Make [`"goLineLeft"`](https://codemirror.net/doc/manual.html#command_goLineLeft)/`"goLineRight"` behave better on wrapped lines.
 
-[sql mode](http://codemirror.net/mode/sql/): Fix tokenizing of multi-dot operator and allow digits in subfield names.
+[sql mode](https://codemirror.net/mode/sql/): Fix tokenizing of multi-dot operator and allow digits in subfield names.
 
-[searchcursor addon](http://codemirror.net/doc/manual.html#addon_searchcursor): Fix infinite loop on some composed character inputs.
+[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Fix infinite loop on some composed character inputs.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Make list parsing more CommonMark-compliant.
+[markdown mode](https://codemirror.net/mode/markdown/): Make list parsing more CommonMark-compliant.
 
-[gfm mode](http://codemirror.net/mode/gfm/): Highlight colon syntax for emoji.
+[gfm mode](https://codemirror.net/mode/gfm/): Highlight colon syntax for emoji.
 
 ### New features
 
-Expose [`startOperation`](http://codemirror.net/doc/manual.html#startOperation) and `endOperation` for explicit operation management.
+Expose [`startOperation`](https://codemirror.net/doc/manual.html#startOperation) and `endOperation` for explicit operation management.
 
-[sublime bindings](http://codemirror.net/demo/sublime.html): Add extend-selection (Ctrl-Alt- or Cmd-Shift-Up/Down).
+[sublime bindings](https://codemirror.net/demo/sublime.html): Add extend-selection (Ctrl-Alt- or Cmd-Shift-Up/Down).
 
 ## 5.27.4 (2017-06-29)
 
@@ -262,13 +910,13 @@ Expose [`startOperation`](http://codemirror.net/doc/manual.html#startOperation)
 
 Fix crash when using mode lookahead.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Don't block inner mode's indentation support.
+[markdown mode](https://codemirror.net/mode/markdown/): Don't block inner mode's indentation support.
 
 ## 5.27.2 (2017-06-22)
 
 ### Bug fixes
 
-Fix crash in the [simple mode](http://codemirror.net/demo/simplemode.html)< addon.
+Fix crash in the [simple mode](https://codemirror.net/demo/simplemode.html)< addon.
 
 ## 5.27.0 (2017-06-22)
 
@@ -280,31 +928,31 @@ Properly disable the hidden textarea when `readOnly` is `"nocursor"`.
 
 Calling the `Doc` constructor without `new` works again.
 
-[sql mode](http://codemirror.net/mode/sql/): Handle nested comments.
+[sql mode](https://codemirror.net/mode/sql/): Handle nested comments.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Improve support for TypeScript syntax.
+[javascript mode](https://codemirror.net/mode/javascript/): Improve support for TypeScript syntax.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Fix bug where markup was ignored on indented paragraph lines.
+[markdown mode](https://codemirror.net/mode/markdown/): Fix bug where markup was ignored on indented paragraph lines.
 
-[vim bindings](http://codemirror.net/demo/vim.html): Referencing invalid registers no longer causes an uncaught exception.
+[vim bindings](https://codemirror.net/demo/vim.html): Referencing invalid registers no longer causes an uncaught exception.
 
-[rust mode](http://codemirror.net/mode/rust/): Add the correct MIME type.
+[rust mode](https://codemirror.net/mode/rust/): Add the correct MIME type.
 
-[matchbrackets addon](http://codemirror.net/doc/manual.html#addon_matchbrackets): Document options.
+[matchbrackets addon](https://codemirror.net/doc/manual.html#addon_matchbrackets): Document options.
 
 ### New features
 
 Mouse button clicks can now be bound in keymaps by using names like `"LeftClick"` or `"Ctrl-Alt-MiddleTripleClick"`. When bound to a function, that function will be passed the position of the click as second argument.
 
-The behavior of mouse selection and dragging can now be customized with the [`configureMouse`](http://codemirror.net/doc/manual.html#option_configureMouse) option.
+The behavior of mouse selection and dragging can now be customized with the [`configureMouse`](https://codemirror.net/doc/manual.html#option_configureMouse) option.
 
-Modes can now look ahead across line boundaries with the [`StringStream`](http://codemirror.net/doc/manual.html#StringStream)`.lookahead` method.
+Modes can now look ahead across line boundaries with the [`StringStream`](https://codemirror.net/doc/manual.html#StringStream)`.lookahead` method.
 
 Introduces a `"type"` token type, makes modes that recognize types output it, and add styling for it to the themes.
 
-New [`pasteLinesPerSelection`](http://codemirror.net/doc/manual.html#option_pasteLinesPerSelection) option to control the behavior of pasting multiple lines into multiple selections.
+New [`pasteLinesPerSelection`](https://codemirror.net/doc/manual.html#option_pasteLinesPerSelection) option to control the behavior of pasting multiple lines into multiple selections.
 
-[searchcursor addon](http://codemirror.net/doc/manual.html#addon_searchcursor): Support multi-line regular expression matches, and normalize strings when matching.
+[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Support multi-line regular expression matches, and normalize strings when matching.
 
 ## 5.26.0 (2017-05-22)
 
@@ -314,19 +962,19 @@ In textarea-mode, don't reset the input field during composition.
 
 More careful restoration of selections in widgets, during editor redraw.
 
-[javascript mode](http://codemirror.net/mode/javascript/): More TypeScript parsing fixes.
+[javascript mode](https://codemirror.net/mode/javascript/): More TypeScript parsing fixes.
 
-[julia mode](http://codemirror.net/mode/julia/): Fix issue where the mode gets stuck.
+[julia mode](https://codemirror.net/mode/julia/): Fix issue where the mode gets stuck.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Understand cross-line links, parse all bracketed things as links.
+[markdown mode](https://codemirror.net/mode/markdown/): Understand cross-line links, parse all bracketed things as links.
 
-[soy mode](http://codemirror.net/mode/soy/): Support single-quoted strings.
+[soy mode](https://codemirror.net/mode/soy/): Support single-quoted strings.
 
-[go mode](http://codemirror.net/mode/go/): Don't try to indent inside strings or comments.
+[go mode](https://codemirror.net/mode/go/): Don't try to indent inside strings or comments.
 
 ### New features
 
-[vim bindings](http://codemirror.net/demo/vim.html): Parse line offsets in line or range specs.
+[vim bindings](https://codemirror.net/demo/vim.html): Parse line offsets in line or range specs.
 
 ## 5.25.2 (2017-04-20)
 
@@ -342,11 +990,11 @@ Make sure long-clicking a selection sets a cursor and doesn't show the editor lo
 
 Fix issue where pointer events were incorrectly disabled on Chrome's overlay scrollbars.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Recognize annotations and TypeScript-style type parameters.
+[javascript mode](https://codemirror.net/mode/javascript/): Recognize annotations and TypeScript-style type parameters.
 
-[shell mode](http://codemirror.net/mode/shell/): Handle nested braces.
+[shell mode](https://codemirror.net/mode/shell/): Handle nested braces.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Make parsing of strong/em delimiters CommonMark-compliant.
+[markdown mode](https://codemirror.net/mode/markdown/): Make parsing of strong/em delimiters CommonMark-compliant.
 
 ## 5.25.0 (2017-03-20)
 
@@ -364,37 +1012,37 @@ Fix handling of shadow DOM roots when finding the active element.
 
 Add `role=presentation` to more DOM elements to improve screen reader support.
 
-[merge addon](http://codemirror.net/doc/manual.html#addon_merge): Make aligning of unchanged chunks more robust.
+[merge addon](https://codemirror.net/doc/manual.html#addon_merge): Make aligning of unchanged chunks more robust.
 
-[comment addon](http://codemirror.net/doc/manual.html#addon_comment): Fix comment-toggling on a block of text that starts and ends in a (differnet) block comment.
+[comment addon](https://codemirror.net/doc/manual.html#addon_comment): Fix comment-toggling on a block of text that starts and ends in a (different) block comment.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Improve support for TypeScript syntax.
+[javascript mode](https://codemirror.net/mode/javascript/): Improve support for TypeScript syntax.
 
-[r mode](http://codemirror.net/mode/r/): Fix indentation after semicolon-less statements.
+[r mode](https://codemirror.net/mode/r/): Fix indentation after semicolon-less statements.
 
-[shell mode](http://codemirror.net/mode/shell/): Properly handle escaped parentheses in parenthesized expressions.
+[shell mode](https://codemirror.net/mode/shell/): Properly handle escaped parentheses in parenthesized expressions.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Fix a few bugs around leaving fenced code blocks.
+[markdown mode](https://codemirror.net/mode/markdown/): Fix a few bugs around leaving fenced code blocks.
 
-[soy mode](http://codemirror.net/mode/soy/): Improve indentation.
+[soy mode](https://codemirror.net/mode/soy/): Improve indentation.
 
 ### New features
 
-[lint addon](http://codemirror.net/doc/manual.html#addon_lint): Support asynchronous linters that return promises.
+[lint addon](https://codemirror.net/doc/manual.html#addon_lint): Support asynchronous linters that return promises.
 
-[continuelist addon](http://codemirror.net/doc/manual.html#addon_continuelist): Support continuing task lists.
+[continuelist addon](https://codemirror.net/doc/manual.html#addon_continuelist): Support continuing task lists.
 
-[vim bindings](http://codemirror.net/demo/vim.html): Make Y behave like yy.
+[vim bindings](https://codemirror.net/demo/vim.html): Make Y behave like yy.
 
-[sql mode](http://codemirror.net/mode/sql/): Support sqlite dialect.
+[sql mode](https://codemirror.net/mode/sql/): Support sqlite dialect.
 
 ## 5.24.2 (2017-02-22)
 
 ### Bug fixes
 
-[javascript mode](http://codemirror.net/mode/javascript/): Support computed class method names.
+[javascript mode](https://codemirror.net/mode/javascript/): Support computed class method names.
 
-[merge addon](http://codemirror.net/doc/manual.html#addon_merge): Improve aligning of unchanged code in the presence of marks and line widgets.
+[merge addon](https://codemirror.net/doc/manual.html#addon_merge): Improve aligning of unchanged code in the presence of marks and line widgets.
 
 ## 5.24.0 (2017-02-20)
 
@@ -406,37 +1054,37 @@ Visual cursor motion in line-wrapped right-to-left text should be much more corr
 
 Fix bug in handling of read-only marked text.
 
-[shell mode](http://codemirror.net/mode/shell/): Properly tokenize nested parentheses.
+[shell mode](https://codemirror.net/mode/shell/): Properly tokenize nested parentheses.
 
-[python mode](http://codemirror.net/mode/python/): Support underscores in number literals.
+[python mode](https://codemirror.net/mode/python/): Support underscores in number literals.
 
-[sass mode](http://codemirror.net/mode/sass/): Uses the full list of CSS properties and keywords from the CSS mode, rather than defining its own incomplete subset.
+[sass mode](https://codemirror.net/mode/sass/): Uses the full list of CSS properties and keywords from the CSS mode, rather than defining its own incomplete subset.
 
-[css mode](http://codemirror.net/mode/css/): Expose `lineComment` property for LESS and SCSS dialects. Recognize vendor prefixes on pseudo-elements.
+[css mode](https://codemirror.net/mode/css/): Expose `lineComment` property for LESS and SCSS dialects. Recognize vendor prefixes on pseudo-elements.
 
-[julia mode](http://codemirror.net/mode/julia/): Properly indent `elseif` lines.
+[julia mode](https://codemirror.net/mode/julia/): Properly indent `elseif` lines.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Properly recognize the end of fenced code blocks when inside other markup.
+[markdown mode](https://codemirror.net/mode/markdown/): Properly recognize the end of fenced code blocks when inside other markup.
 
-[scala mode](http://codemirror.net/mode/clike/): Improve handling of operators containing #, @, and : chars.
+[scala mode](https://codemirror.net/mode/clike/): Improve handling of operators containing #, @, and : chars.
 
-[xml mode](http://codemirror.net/mode/xml/): Allow dashes in HTML tag names.
+[xml mode](https://codemirror.net/mode/xml/): Allow dashes in HTML tag names.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Improve parsing of async methods, TypeScript-style comma-separated superclass lists.
+[javascript mode](https://codemirror.net/mode/javascript/): Improve parsing of async methods, TypeScript-style comma-separated superclass lists.
 
-[indent-fold addon](http://codemirror.net/demo/folding.html): Ignore comment lines.
+[indent-fold addon](https://codemirror.net/demo/folding.html): Ignore comment lines.
 
 ### New features
 
 Positions now support a `sticky` property which determines whether they should be associated with the character before (value `"before"`) or after (value `"after"`) them.
 
-[vim bindings](http://codemirror.net/demo/vim.html): Make it possible to remove built-in bindings through the API.
+[vim bindings](https://codemirror.net/demo/vim.html): Make it possible to remove built-in bindings through the API.
 
-[comment addon](http://codemirror.net/doc/manual.html#addon_comment): Support a per-mode useInnerComments option to optionally suppress descending to the inner modes to get comment strings.
+[comment addon](https://codemirror.net/doc/manual.html#addon_comment): Support a per-mode useInnerComments option to optionally suppress descending to the inner modes to get comment strings.
 
 ### Breaking changes
 
-The [sass mode](http://codemirror.net/mode/sass/) now depends on the [css mode](http://codemirror.net/mode/css/).
+The [sass mode](https://codemirror.net/mode/sass/) now depends on the [css mode](https://codemirror.net/mode/css/).
 
 ## 5.23.0 (2017-01-19)
 
@@ -444,15 +1092,15 @@ The [sass mode](http://codemirror.net/mode/sass/) now depends on the [css mode](
 
 Presentation-related elements DOM elements are now marked as such to help screen readers.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Be more picky about what HTML tags look like to avoid false positives.
+[markdown mode](https://codemirror.net/mode/markdown/): Be more picky about what HTML tags look like to avoid false positives.
 
 ### New features
 
 `findModeByMIME` now understands `+json` and `+xml` MIME suffixes.
 
-[closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Add support for an `override` option to ignore language-specific defaults.
+[closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets): Add support for an `override` option to ignore language-specific defaults.
 
-[panel addon](http://codemirror.net/doc/manual.html#addon_panel): Add a `stable` option that auto-scrolls the content to keep it in the same place when inserting/removing a panel.
+[panel addon](https://codemirror.net/doc/manual.html#addon_panel): Add a `stable` option that auto-scrolls the content to keep it in the same place when inserting/removing a panel.
 
 ## 5.22.2 (2017-01-12)
 
@@ -464,49 +1112,49 @@ Include rollup.config.js in NPM package, so that it can be used to build from so
 
 ### Bug fixes
 
-[sublime bindings](http://codemirror.net/demo/sublime.html): Make `selectBetweenBrackets` work with multiple cursors.
+[sublime bindings](https://codemirror.net/demo/sublime.html): Make `selectBetweenBrackets` work with multiple cursors.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Fix issues with parsing complex TypeScript types, imports, and exports.
+[javascript mode](https://codemirror.net/mode/javascript/): Fix issues with parsing complex TypeScript types, imports, and exports.
 
 A contentEditable editor instance with autofocus enabled no longer crashes during initializing.
 
 ### New features
 
-[emacs bindings](http://codemirror.net/demo/emacs.html): Export `CodeMirror.emacs` to allow other addons to hook into Emacs-style functionality.
+[emacs bindings](https://codemirror.net/demo/emacs.html): Export `CodeMirror.emacs` to allow other addons to hook into Emacs-style functionality.
 
-[active-line addon](http://codemirror.net/doc/manual.html#addon_active-line): Add `nonEmpty` option.
+[active-line addon](https://codemirror.net/doc/manual.html#addon_active-line): Add `nonEmpty` option.
 
-New event: [`optionChange`](http://codemirror.net/doc/manual.html#event_optionChange).
+New event: [`optionChange`](https://codemirror.net/doc/manual.html#event_optionChange).
 
 ## 5.21.0 (2016-11-21)
 
 ### Bug fixes
 
-Tapping/clicking the editor in [contentEditable mode](http://codemirror.net/doc/manual.html#option_inputStyle) on Chrome now puts the cursor at the tapped position.
+Tapping/clicking the editor in [contentEditable mode](https://codemirror.net/doc/manual.html#option_inputStyle) on Chrome now puts the cursor at the tapped position.
 
-Fix various crashes and misbehaviors when reading composition events in [contentEditable mode](http://codemirror.net/doc/manual.html#option_inputStyle).
+Fix various crashes and misbehavior when reading composition events in [contentEditable mode](https://codemirror.net/doc/manual.html#option_inputStyle).
 
 Catches and ignores an IE 'Unspecified Error' when creating an editor in an iframe before there is a ``.
 
-[merge addon](http://codemirror.net/doc/manual.html#addon_merge): Fix several issues in the chunk-aligning feature.
+[merge addon](https://codemirror.net/doc/manual.html#addon_merge): Fix several issues in the chunk-aligning feature.
 
-[verilog mode](http://codemirror.net/mode/verilog): Rewritten to address various issues.
+[verilog mode](https://codemirror.net/mode/verilog): Rewritten to address various issues.
 
-[julia mode](http://codemirror.net/mode/julia): Recognize Julia 0.5 syntax.
+[julia mode](https://codemirror.net/mode/julia): Recognize Julia 0.5 syntax.
 
-[swift mode](http://codemirror.net/mode/swift): Various fixes and adjustments to current syntax.
+[swift mode](https://codemirror.net/mode/swift): Various fixes and adjustments to current syntax.
 
-[markdown mode](http://codemirror.net/mode/markdown): Allow lists without a blank line above them.
+[markdown mode](https://codemirror.net/mode/markdown): Allow lists without a blank line above them.
 
 ### New features
 
-The [`setGutterMarker`](http://codemirror.net/doc/manual.html#setGutterMarker), [`clearGutter`](http://codemirror.net/doc/manual.html#clearGutter), and [`lineInfo`](http://codemirror.net/doc/manual.html#lineInfo) methods are now available on `Doc` objects.
+The [`setGutterMarker`](https://codemirror.net/doc/manual.html#setGutterMarker), [`clearGutter`](https://codemirror.net/doc/manual.html#clearGutter), and [`lineInfo`](https://codemirror.net/doc/manual.html#lineInfo) methods are now available on `Doc` objects.
 
-The [`heightAtLine`](http://codemirror.net/doc/manual.html#heightAtLine) method now takes an extra argument to allow finding the height at the top of the line's line widgets.
+The [`heightAtLine`](https://codemirror.net/doc/manual.html#heightAtLine) method now takes an extra argument to allow finding the height at the top of the line's line widgets.
 
-[ruby mode](http://codemirror.net/mode/ruby): `else` and `elsif` are now immediately indented.
+[ruby mode](https://codemirror.net/mode/ruby): `else` and `elsif` are now immediately indented.
 
-[vim bindings](http://codemirror.net/demo/vim.html): Bind Ctrl-T and Ctrl-D to in- and dedent in insert mode.
+[vim bindings](https://codemirror.net/demo/vim.html): Bind Ctrl-T and Ctrl-D to in- and dedent in insert mode.
 
 ## 5.20.2 (2016-10-21)
 
@@ -524,27 +1172,27 @@ Make sure keypress events for backspace are ignored.
 
 Tokens styled with overlays no longer get a nonsense `cm-cm-overlay` class.
 
-Line endings for pasted content are now normalized to the editor's [preferred ending](http://codemirror.net/doc/manual.html#option_lineSeparator).
+Line endings for pasted content are now normalized to the editor's [preferred ending](https://codemirror.net/doc/manual.html#option_lineSeparator).
 
-[javascript mode](http://codemirror.net/mode/javascript): Improve support for class expressions. Support TypeScript optional class properties, the `abstract` keyword, and return type declarations for arrow functions.
+[javascript mode](https://codemirror.net/mode/javascript): Improve support for class expressions. Support TypeScript optional class properties, the `abstract` keyword, and return type declarations for arrow functions.
 
-[css mode](http://codemirror.net/mode/css): Fix highlighting of mixed-case keywords.
+[css mode](https://codemirror.net/mode/css): Fix highlighting of mixed-case keywords.
 
-[closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Improve behavior when typing a quote before a string.
+[closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets): Improve behavior when typing a quote before a string.
 
 ### New features
 
-The core is now maintained as a number of small files, using ES6 syntax and modules, under the `src/` directory. A git checkout no longer contains a working `codemirror.js` until you `npm build` (but when installing from NPM, it is included).
+The core is now maintained as a number of small files, using ES6 syntax and modules, under the `src/` directory. A git checkout no longer contains a working `codemirror.js` until you `npm run build` (but when installing from NPM, it is included).
 
-The [`refresh`](http://codemirror.net/doc/manual.html#event_refresh) event is now documented and stable.
+The [`refresh`](https://codemirror.net/doc/manual.html#event_refresh) event is now documented and stable.
 
 ## 5.19.0 (2016-09-20)
 
 ### Bugfixes
 
-[erlang mode](http://codemirror.net/mode/erlang): Fix mode crash when trying to read an empty context.
+[erlang mode](https://codemirror.net/mode/erlang): Fix mode crash when trying to read an empty context.
 
-[comment addon](http://codemirror.net/doc/manual.html#addon_comment): Fix broken behavior when toggling comments inside a comment.
+[comment addon](https://codemirror.net/doc/manual.html#addon_comment): Fix broken behavior when toggling comments inside a comment.
 
 xml-fold addon: Fix a null-dereference bug.
 
@@ -554,43 +1202,43 @@ Fix an issue where the cursor position could be off in really long (~8000 charac
 
 ### New features
 
-[javascript mode](http://codemirror.net/mode/javascript): Better indentation when semicolons are missing. Better support for TypeScript classes, optional parameters, and the `type` keyword.
+[javascript mode](https://codemirror.net/mode/javascript): Better indentation when semicolons are missing. Better support for TypeScript classes, optional parameters, and the `type` keyword.
 
-The [`blur`](http://codemirror.net/doc/manual.html#event_blur) and [`focus`](http://codemirror.net/doc/manual.html#event_focus) events now pass the DOM event to their handlers.
+The [`blur`](https://codemirror.net/doc/manual.html#event_blur) and [`focus`](https://codemirror.net/doc/manual.html#event_focus) events now pass the DOM event to their handlers.
 
 ## 5.18.2 (2016-08-23)
 
 ### Bugfixes
 
-[vue mode](http://codemirror.net/mode/vue): Fix outdated references to renamed Pug mode dependency.
+[vue mode](https://codemirror.net/mode/vue): Fix outdated references to renamed Pug mode dependency.
 
 ## 5.18.0 (2016-08-22)
 
 ### Bugfixes
 
-Make sure [gutter backgrounds](http://codemirror.net/doc/manual.html#addLineClass) stick to the rest of the gutter during horizontal scrolling.
+Make sure [gutter backgrounds](https://codemirror.net/doc/manual.html#addLineClass) stick to the rest of the gutter during horizontal scrolling.
 
-The contenteditable [`inputStyle`](http://codemirror.net/doc/manual.html#option_inputStyle) now properly supports pasting on pre-Edge IE versions.
+The contenteditable [`inputStyle`](https://codemirror.net/doc/manual.html#option_inputStyle) now properly supports pasting on pre-Edge IE versions.
 
-[javascript mode](http://codemirror.net/mode/javascript): Fix some small parsing bugs and improve TypeScript support.
+[javascript mode](https://codemirror.net/mode/javascript): Fix some small parsing bugs and improve TypeScript support.
 
-[matchbrackets addon](http://codemirror.net/doc/manual.html#addon_matchbrackets): Fix bug where active highlighting was left in editor when the addon was disabled.
+[matchbrackets addon](https://codemirror.net/doc/manual.html#addon_matchbrackets): Fix bug where active highlighting was left in editor when the addon was disabled.
 
-[match-highlighter addon](http://codemirror.net/doc/manual.html#addon_match-highlighter): Only start highlighting things when the editor gains focus.
+[match-highlighter addon](https://codemirror.net/doc/manual.html#addon_match-highlighter): Only start highlighting things when the editor gains focus.
 
-[javascript-hint addon](http://codemirror.net/doc/manual.html#addon_javascript-hint): Also complete non-enumerable properties.
+[javascript-hint addon](https://codemirror.net/doc/manual.html#addon_javascript-hint): Also complete non-enumerable properties.
 
 ### New features
 
-The [`addOverlay`](http://codemirror.net/doc/manual.html#addOverlay) method now supports a `priority` option to control the order in which overlays are applied.
+The [`addOverlay`](https://codemirror.net/doc/manual.html#addOverlay) method now supports a `priority` option to control the order in which overlays are applied.
 
 MIME types that end in `+json` now default to the JSON mode when the MIME itself is not defined.
 
 ### Breaking changes
 
-The mode formerly known as Jade was renamed to [Pug](http://codemirror.net/mode/pug).
+The mode formerly known as Jade was renamed to [Pug](https://codemirror.net/mode/pug).
 
-The [Python mode](http://codemirror.net/mode/python) now defaults to Python 3 (rather than 2) syntax.
+The [Python mode](https://codemirror.net/mode/python) now defaults to Python 3 (rather than 2) syntax.
 
 ## 5.17.0 (2016-07-19)
 
@@ -602,15 +1250,15 @@ Prevent IME dialog from overlapping typed content in Chrome.
 
 Improve measuring of characters near a line wrap.
 
-[javascript mode](http://codemirror.net/mode/javascript): Improve support for `async`, allow trailing commas in `import` lists.
+[javascript mode](https://codemirror.net/mode/javascript): Improve support for `async`, allow trailing commas in `import` lists.
 
-[vim bindings](http://codemirror.net/demo/vim.html): Fix backspace in replace mode.
+[vim bindings](https://codemirror.net/demo/vim.html): Fix backspace in replace mode.
 
-[sublime bindings](http://codemirror.net/demo/sublime.html): Fix some key bindings on OS X to match Sublime Text.
+[sublime bindings](https://codemirror.net/demo/sublime.html): Fix some key bindings on OS X to match Sublime Text.
 
 ### New features
 
-[markdown mode](http://codemirror.net/mode/markdown): Add more classes to image links in highlight-formatting mode.
+[markdown mode](https://codemirror.net/mode/markdown): Add more classes to image links in highlight-formatting mode.
 
 ## 5.16.0 (2016-06-20)
 
@@ -622,15 +1270,15 @@ Make Control-drag work on Firefox.
 
 Make clicking or selection-dragging at the end of a wrapped line select the right position.
 
-[show-hint addon](http://codemirror.net/doc/manual.html#addon_show-hint): Prevent widget scrollbar from hiding part of the hint text.
+[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Prevent widget scrollbar from hiding part of the hint text.
 
-[rulers addon](http://codemirror.net/doc/manual.html#addon_rulers): Prevent rulers from forcing a horizontal editor scrollbar.
+[rulers addon](https://codemirror.net/doc/manual.html#addon_rulers): Prevent rulers from forcing a horizontal editor scrollbar.
 
 ### New features
 
-[search addon](http://codemirror.net/doc/manual.html#addon_search): Automatically bind search-related keys in persistent dialog.
+[search addon](https://codemirror.net/doc/manual.html#addon_search): Automatically bind search-related keys in persistent dialog.
 
-[sublime keymap](http://codemirror.net/demo/sublime.html): Add a multi-cursor aware smart backspace binding.
+[sublime keymap](https://codemirror.net/demo/sublime.html): Add a multi-cursor aware smart backspace binding.
 
 ## 5.15.2 (2016-05-20)
 
@@ -652,17 +1300,17 @@ Fix issue where the editor would complain about overlapping collapsed ranges whe
 
 Optimize document tree building when loading or pasting huge chunks of content.
 
-[markdown mode](http://codemirror.net/mode/markdown/): Fix several issues in matching link targets.
+[markdown mode](https://codemirror.net/mode/markdown/): Fix several issues in matching link targets.
 
-[clike mode](http://codemirror.net/mode/clike/): Improve indentation of C++ template declarations.
+[clike mode](https://codemirror.net/mode/clike/): Improve indentation of C++ template declarations.
 
 ### New features
 
 Explicitly bind Ctrl-O on OS X to make that binding (“open line”) act as expected.
 
-Pasting [linewise-copied](http://codemirror.net/doc/manual.html#option_lineWiseCopyCut) content when there is no selection now inserts the lines above the current line.
+Pasting [linewise-copied](https://codemirror.net/doc/manual.html#option_lineWiseCopyCut) content when there is no selection now inserts the lines above the current line.
 
-[javascript mode](http://codemirror.net/mode/javascript/): Support `async`/`await` and improve support for TypeScript type syntax.
+[javascript mode](https://codemirror.net/mode/javascript/): Support `async`/`await` and improve support for TypeScript type syntax.
 
 ## 5.14.2 (2016-04-20)
 
@@ -672,37 +1320,37 @@ Push a new package to NPM due to an [NPM bug](https://github.com/npm/npm/issues/
 
 Set `dataTransfer.effectAllowed` in `dragstart` handler to help browsers use the right drag icon.
 
-Add the [mbox mode](http://codemirror.net/mode/mbox/index.html) to `mode/meta.js`.
+Add the [mbox mode](https://codemirror.net/mode/mbox/index.html) to `mode/meta.js`.
 
 ## 5.14.0 (2016-04-20)
 
 ### Bugfixes
 
-[`posFromIndex`](http://codemirror.net/doc/manual.html#posFromIndex) and [`indexFromPos`](http://codemirror.net/doc/manual.html#indexFromPos) now take [`lineSeparator`](http://codemirror.net/doc/manual.html#option_lineSeparator) into account.
+[`posFromIndex`](https://codemirror.net/doc/manual.html#posFromIndex) and [`indexFromPos`](https://codemirror.net/doc/manual.html#indexFromPos) now take [`lineSeparator`](https://codemirror.net/doc/manual.html#option_lineSeparator) into account.
 
-[vim bindings](http://codemirror.net/demo/vim.html): Only call `.save()` when it is actually available.
+[vim bindings](https://codemirror.net/demo/vim.html): Only call `.save()` when it is actually available.
 
-[comment addon](http://codemirror.net/doc/manual.html#addon_comment): Be careful not to mangle multi-line strings.
+[comment addon](https://codemirror.net/doc/manual.html#addon_comment): Be careful not to mangle multi-line strings.
 
-[Python mode](http://codemirror.net/mode/python/index.html): Improve distinguishing of decorators from `@` operators.
+[Python mode](https://codemirror.net/mode/python/index.html): Improve distinguishing of decorators from `@` operators.
 
-[`findMarks`](http://codemirror.net/doc/manual.html#findMarks): No longer return marks that touch but don't overlap given range.
+[`findMarks`](https://codemirror.net/doc/manual.html#findMarks): No longer return marks that touch but don't overlap given range.
 
 ### New features
 
-[vim bindings](http://codemirror.net/demo/vim.html): Add yank command.
+[vim bindings](https://codemirror.net/demo/vim.html): Add yank command.
 
-[match-highlighter addon](http://codemirror.net/doc/manual.html#addon_match-highlighter): Add `trim` option to disable ignoring of whitespace.
+[match-highlighter addon](https://codemirror.net/doc/manual.html#addon_match-highlighter): Add `trim` option to disable ignoring of whitespace.
 
-[PowerShell mode](http://codemirror.net/mode/powershell/index.html): Added.
+[PowerShell mode](https://codemirror.net/mode/powershell/index.html): Added.
 
-[Yacas mode](http://codemirror.net/mode/yacas/index.html): Added.
+[Yacas mode](https://codemirror.net/mode/yacas/index.html): Added.
 
-[Web IDL mode](http://codemirror.net/mode/webidl/index.html): Added.
+[Web IDL mode](https://codemirror.net/mode/webidl/index.html): Added.
 
-[SAS mode](http://codemirror.net/mode/sas/index.html): Added.
+[SAS mode](https://codemirror.net/mode/sas/index.html): Added.
 
-[mbox mode](http://codemirror.net/mode/mbox/index.html): Added.
+[mbox mode](https://codemirror.net/mode/mbox/index.html): Added.
 
 ## 5.13.2 (2016-03-23)
 
@@ -714,43 +1362,43 @@ Solves a problem where the gutter would sometimes not extend all the way to the
 
 ### New features
 
-New DOM event forwarded: [`"dragleave"`](http://codemirror.net/doc/manual.html#event_dom).
+New DOM event forwarded: [`"dragleave"`](https://codemirror.net/doc/manual.html#event_dom).
 
-[protobuf mode](http://codemirror.net/mode/protobuf/index.html): Newly added.
+[protobuf mode](https://codemirror.net/mode/protobuf/index.html): Newly added.
 
 ### Bugfixes
 
-Fix problem where [`findMarks`](http://codemirror.net/doc/manual.html#findMarks) sometimes failed to find multi-line marks.
+Fix problem where [`findMarks`](https://codemirror.net/doc/manual.html#findMarks) sometimes failed to find multi-line marks.
 
 Fix crash that showed up when atomic ranges and bidi text were combined.
 
-[show-hint addon](http://codemirror.net/demo/complete.html): Completion widgets no longer close when the line indented or dedented.
+[show-hint addon](https://codemirror.net/demo/complete.html): Completion widgets no longer close when the line indented or dedented.
 
-[merge addon](http://codemirror.net/demo/merge.html): Fix bug when merging chunks at the end of the file.
+[merge addon](https://codemirror.net/demo/merge.html): Fix bug when merging chunks at the end of the file.
 
-[placeholder addon](http://codemirror.net/doc/manual.html#addon_placeholder): No longer gets confused by [`swapDoc`](http://codemirror.net/doc/manual.html#swapDoc).
+[placeholder addon](https://codemirror.net/doc/manual.html#addon_placeholder): No longer gets confused by [`swapDoc`](https://codemirror.net/doc/manual.html#swapDoc).
 
-[simplescrollbars addon](http://codemirror.net/doc/manual.html#addon_simplescrollbars): Fix invalid state when deleting at end of document.
+[simplescrollbars addon](https://codemirror.net/doc/manual.html#addon_simplescrollbars): Fix invalid state when deleting at end of document.
 
-[clike mode](http://codemirror.net/mode/clike/index.html): No longer gets confused when a comment starts after an operator.
+[clike mode](https://codemirror.net/mode/clike/index.html): No longer gets confused when a comment starts after an operator.
 
-[markdown mode](http://codemirror.net/mode/markdown/index.html): Now supports CommonMark-style flexible list indentation.
+[markdown mode](https://codemirror.net/mode/markdown/index.html): Now supports CommonMark-style flexible list indentation.
 
-[dylan mode](http://codemirror.net/mode/dylan/index.html): Several improvements and fixes.
+[dylan mode](https://codemirror.net/mode/dylan/index.html): Several improvements and fixes.
 
 ## 5.12.0 (2016-02-19)
 
 ### New features
 
-[Vim bindings](http://codemirror.net/demo/vim.html): Ctrl-Q is now an alias for Ctrl-V.
+[Vim bindings](https://codemirror.net/demo/vim.html): Ctrl-Q is now an alias for Ctrl-V.
 
-[Vim bindings](http://codemirror.net/demo/vim.html): The Vim API now exposes an `unmap` method to unmap bindings.
+[Vim bindings](https://codemirror.net/demo/vim.html): The Vim API now exposes an `unmap` method to unmap bindings.
 
-[active-line addon](http://codemirror.net/demo/activeline.html): This addon can now style the active line's gutter.
+[active-line addon](https://codemirror.net/demo/activeline.html): This addon can now style the active line's gutter.
 
-[FCL mode](http://codemirror.net/mode/fcl/): Newly added.
+[FCL mode](https://codemirror.net/mode/fcl/): Newly added.
 
-[SQL mode](http://codemirror.net/mode/sql/): Now has a Postgresql dialect.
+[SQL mode](https://codemirror.net/mode/sql/): Now has a Postgresql dialect.
 
 ### Bugfixes
 
@@ -762,147 +1410,147 @@ Solve a [problem](https://github.com/codemirror/CodeMirror/issues/3821) where th
 
 Fix a [bug](https://github.com/codemirror/CodeMirror/issues/3834) that caused phantom scroll space under the text in some situations.
 
-[Sublime Text bindings](http://codemirror.net/demo/sublime.html): Bind delete-line to Shift-Ctrl-K on OS X.
+[Sublime Text bindings](https://codemirror.net/demo/sublime.html): Bind delete-line to Shift-Ctrl-K on OS X.
 
-[Markdown mode](http://codemirror.net/mode/markdown/): Fix [issue](https://github.com/codemirror/CodeMirror/issues/3787) where the mode would keep state related to fenced code blocks in an unsafe way, leading to occasional corrupted parses.
+[Markdown mode](https://codemirror.net/mode/markdown/): Fix [issue](https://github.com/codemirror/CodeMirror/issues/3787) where the mode would keep state related to fenced code blocks in an unsafe way, leading to occasional corrupted parses.
 
-[Markdown mode](http://codemirror.net/mode/markdown/): Ignore backslashes in code fragments.
+[Markdown mode](https://codemirror.net/mode/markdown/): Ignore backslashes in code fragments.
 
-[Markdown mode](http://codemirror.net/mode/markdown/): Use whichever mode is registered as `text/html` to parse HTML.
+[Markdown mode](https://codemirror.net/mode/markdown/): Use whichever mode is registered as `text/html` to parse HTML.
 
-[Clike mode](http://codemirror.net/mode/clike/): Improve indentation of Scala `=>` functions.
+[Clike mode](https://codemirror.net/mode/clike/): Improve indentation of Scala `=>` functions.
 
-[Python mode](http://codemirror.net/mode/python/): Improve indentation of bracketed code.
+[Python mode](https://codemirror.net/mode/python/): Improve indentation of bracketed code.
 
-[HTMLMixed mode](http://codemirror.net/mode/htmlmixed/): Support multi-line opening tags for sub-languages (`
 
 
-