Version 5.46.0 ### 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 stings.