Update CodeMirror to version 3.18