upgraded to CodeMirror 4.6