update CodeMirror to 3.24

required for #5479