Version 5.18.0

### Bugfixes

Make sure [gutter backgrounds](http://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.

[javascript mode](http://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.

[match-highlighter addon](http://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.

### 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.

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 [Python mode](http://codemirror.net/mode/python) now defaults to Python 3 (rather than 2) syntax.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAABCAAGBQJXuwIdAAoJEHA/G+1tM64ekIQH/05nSa1o0y4q05ja3HvJH0rf
9xkf7ysHnSNjG874j7X0b7ag3D3rNIUJw3sH93BeozDQvjtiZMPMNYurfoYurjZr
ertzhYGdcOVFRaemXM7uAD5gCWHgpMV/AS5Vpzh/NrCtdvXhCeDN5Iz1nvfisa/c
jbGWX2N/bUpLzT7yrSnoNFQBvoatAMyYEHBkJfLL6SOiTV+jmwEAflo9ttpF+K5K
jtp/E5++hxXZrZ/iW3JcHJxJnjRRvj3HDOW8XY8VkrHWqdbdp0aGEZaNZQRhlfe4
aaqoSUfvVRfUMJ75Bf8p2+3iDeGjHBH2z/16zJFMh6lSaMihoRkVWzJP7RsmuuI=
=bv1o
-----END PGP SIGNATURE-----
