 
     @disposables.add @onDidMoveToItemArea  => @setReadOnly(true)
 
-    # [FIXME] While in dev
-    # @disposables.add atom.workspace.onDidChangeActivePaneItem (item) ->
-    #   console.log 'activePaneItemChange', item
-
     @disposables.add(
       @registerCommands()
       @observeChange()

  setPrompt: (text='') ->
    if @editor.getLastBufferRow() is 0
      text += "\n"

    range = null
    @withIgnoreChange =>
      range = @editor.setTextInBufferRange(@getPromptRange(0), text)
    range

  setSyncToEditor: (editor) ->

    if moveToPrompt
      @moveToPrompt()

    filterSpec = getFilterSpecForQuery(@getQuery())

    Promise.resolve(@cachedItems ? @provider.getItems()).then (items) =>
