   @uiByNarrowEditor: new Map()
   autoPreview: false
   preventAutoPreview: false
+  preventSyncToProviderEditor: false
   ignoreChangeOnEditor: false
   destroyed: false
   items: []

      @preview() if @isAutoPreview()

  syncToProviderEditor: ->
    # Detect item
    # - cursor position is equal or greather than that item.
    cursorPosition = @providerEditor.getCursorBufferPosition()

    editor.decorateMarker(@rowMarker, type: 'line', class: 'narrow-result')

  preview: ->
    @preventSyncToProviderEditor = true
    @confirm(keepOpen: true).then ({editor, point}) =>
      if editor.isAlive()
        @setRowMarker(editor, point)
        @focus()
        @preventSyncToProviderEditor = false

  isNormalItem: (item) ->
    item? and not item.skip
