         workspace.update()
 
   evalAllWeaveChunks: ->
-    {editor, mod, edpath} = @currentContext()
+    {editor, mod, edpath} = @_currentContext()
     atom.commands.dispatch atom.views.getView(editor), 'inline-results:clear-all'
     evalall({
               path: edpath

        docpane.ensureVisible()
        docpane.showDocument(v, [])

  showError: (r, lines) ->
    @errorLines?.lights.destroy()
    lights = @ink.highlights.errorLines (file: file, line: line-1 for {file, line} in lines)
    @errorLines = {r, lights}
    r.onDidDestroy =>
      if @errorLines?.r == r then @errorLines.lights.destroy()

  # Working Directory

  cdHere: ->
    file = client.editorPath(atom.workspace.getActiveTextEditor())

              editor.onDidDestroy client.withCurrent -> clearLazy id
            r.setContent views.render(view, {registerLazy}), {error}
            if error and result.highlights?
              @_showError r, result.highlights
            atom.beep() if error
            notifications.show "Evaluation Finished"
            workspace.update()
            result

  evalAll: ->
    {editor, edpath} = @_currentContext()
    atom.commands.dispatch atom.views.getView(editor), 'inline-results:clear-all'
    evalall({
              path: edpath
