CodeMirror initialized in File view, debugging recursive loop