 
         @codemirror = make_editor(elt[0])
         @codemirror.name = '0'
+        #window.cm = @codemirror
 
         elt1 = @element.find(".webapp-editor-textarea-1")
 


            "Ctrl-Space"   : "autocomplete"

            #"F11"          : (editor)   => console.log('fs', editor.getOption("fullScreen")); editor.setOption("fullScreen", not editor.getOption("fullScreen"))

        if opts.bindings == 'vim'
            # An additional key to get to visual mode in vim (added for ipad Smart Keyboard)
            extraKeys["Alt-C"] = (editor) =>
                CodeMirror.Vim.exitInsertMode(editor)
            extraKeys["Alt-F"] = (editor) =>
                editor.execCommand('goPageDown')
            extraKeys["Alt-B"] = (editor) =>
                editor.execCommand('goPageUp')

        if opts.match_xml_tags
            extraKeys['Ctrl-J'] = "toMatchingTag"


            "Ctrl-L"       : (editor)   => @goto_line(editor)
            "Cmd-L"        : (editor)   => @goto_line(editor)

            "Ctrl-I"       : (editor)   => @toggle_split_view(editor)
            "Cmd-I"        : (editor)   => @toggle_split_view(editor)

            "Shift-Cmd-L"  : (editor)   => editor.align_assignments()
            "Shift-Ctrl-L" : (editor)   => editor.align_assignments()

            "Shift-Ctrl-." : (editor)   => @change_font_size(editor, +1)
            "Shift-Ctrl-," : (editor)   => @change_font_size(editor, -1)

            "Shift-Cmd-."  : (editor)   => @change_font_size(editor, +1)
            "Shift-Cmd-,"  : (editor)   => @change_font_size(editor, -1)

