Fix dynamic loading of CodeMirror modes If the mode is not yet loaded and the user selects it from the preferences box, try to load the mode dynamically and then apply it to the active CM3 instances. Change-Id: I5bd1a22761126c79ef48224206a70723bee5018e