adding CodeMirror folding feature