     @syncToEditor(editor)
 
     ignoreColumnChange = not @provider.itemHaveRange
-
     @syncSubcriptions.add editor.onDidChangeCursorPosition (event) =>
       return if event.textChanged
       return if ignoreColumnChange and (event.oldBufferPosition.row is event.newBufferPosition.row)

  refresh: ({force, selectFirstItem}={}) ->
    @emitWillRefresh()

    if force
      @cachedItems = null

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


  # Ui.prototype
  # -------------------------
  autoPreview: null
  autoPreviewOnQueryChange: null

