 
     # [FIXME?] With just "\n", narrow:line fail to syntax highlight
     # with custom grammar on initial open.s
-    @editor.insertText("\n ")
-    @editor.setCursorBufferPosition([0, Infinity])
+    @narrowEditor.insertText("\n ")
+    @narrowEditor.setCursorBufferPosition([0, Infinity])
 
     @registerCommands()
     @observeInputChange()

    @locked = false

  observeCursorPositionChange: ->
    @editor.onDidChangeCursorPosition (event) =>
      {oldBufferPosition, newBufferPosition, textChanged, cursor} = event
      return if @isLocked() or
        textChanged or

      @setItems(@provider.filterItems(items, words))

  observeInputChange: ->
    buffer = @narrowEditor.getBuffer()
    buffer.onDidChange ({newRange}) =>
      if newRange.start.row is 0
        @refresh()
