       # FIXME: BUG decorationByItem should managed by per editor.
       @decorationByItem.set(item, editor.decorateMarker(marker, decorationOptions))
 
+  clearCurrentAndLineMarker: ->
+    @clearLineMarker()
+    @clearCurrent()
+
   # modify current item decoration
   # -------------------------
   highlightCurrent: ->
-    return unless @needHighlight
-    return unless @ui.isActive()
-
     if decoration = @decorationByItem.get(@ui.items.getSelectedItem())
       updateDecoration(decoration, (cssClass) -> cssClass + ' current')
 

      else
        @subscriptions.add @ui.onDidStopRefreshing(@refreshAll.bind(this))

    @subscriptions.add(
      @observeUiPreview()
      @observeUiConfirm()
    )

  setRegExp: (@regexp) ->


  decorationOptions = {type: 'highlight', class: 'narrow-match'}
  highlight: (editor) ->
    return unless @regexp
    return if isNarrowEditor(editor)
    return if @provider.boundToSingleFile and editor isnt @provider.editor
    return if @markerLayerByEditor.has(editor)
