 
 
   search: ->
+
     @warningView.hide()
 
     @searchText     = Encoder.XSSEncode @findInput.getValue()

    @emit 'ViewNeedsToBeShown', resultsView
    @destroy()

  showWarning: (text, isError) ->
    view = @warningView

    view.unsetClass 'error'

    # Send results
    callback formatted, stats


  createResultsView: (result, stats) ->

    {searchText}    = this
    isCaseSensitive = @caseToggle.getValue()
    resultsView     = new IDEContentSearchResultView { result, stats, searchText, isCaseSensitive, @machine }
