 
         @editor.save = @save
         @codemirror  = @editor.codemirror
+        @codemirror1 = @editor.codemirror1
         @editor._set("Loading...")
         @codemirror.setOption('readOnly', true)
-        @editor.codemirror1.setOption('readOnly', true)
+        @codemirror1.setOption('readOnly', true)
         @element     = @editor.element
 
         @init_cursorActivity_event()

            toggle_input  : false  # if true; toggle whether input is displayed; ranges all toggle same as first
            toggle_output : false  # if true; toggle whether output is displayed; ranges all toggle same as first
            delete_output : false  # if true; delete all the the output in the range
            cm      : @codemirror
        if opts.pos?
            pos = opts.pos
        else

        # starts with a cell or output marker and is not already marked.
        # If not marked, mark it appropriately, and possibly process any
        # changes to that line.
        @pad_bottom_with_newlines(10)
        @_process_sage_updates(@codemirror, start)
        if @editor._split_view
            @_process_sage_updates(@editor.codemirror1, start)
