 
   findPrevious: =>
     @search()
-    @cursorMoveOriginatedHere = true # See HACK above.
     @currentEditor().trigger('find-and-replace:find-previous')
 
   findNext: =>
     @search()
-    @cursorMoveOriginatedHere = true # See HACK above.
     @currentEditor().trigger('find-and-replace:find-next')
 
   setSelectionAsSearchPattern: =>

        view = new SearchResultsView(@searchModel, editor, {@active})
        @searchResultsViews.push(view)
        editor.underlayer.append(view)
        editor.on 'cursor:moved', @onCursorMoved

    @findEditor.on 'keyup', (e) =>
      # When the user types something in the find box, we dont want to lose it

    editor = @currentEditor()
    @trigger('active-editor-changed', editor: editor)

  onSearchModelChanged: (model, args) =>
    @updateOptionButtons()

