         @_exec(x)
 
 class SynchronizedWorksheetCell
-    constructor: (@doc, line) ->
+    constructor: (@doc, start, end) ->
         # Determine input and end lines of the cell that contains the given line, and
         # the corresponding uuid's.
-        {start, end} = @doc.current_input_block(line)
         @cm = @doc.focused_codemirror()
 
         # Input

            if opts.pos?
                cells = [@cell(opts.pos.line)]
            else
                cells = @get_current_cells()
            for cell in cells
                cell.action
                    execute       : opts.execute

                        @_update_queue_stop = stop
                    @process_sage_update_queue()

    close: =>
        @execution_queue?.close()
        super()
