   createResultsView: (result, stats) ->
     {searchText}    = this
     isCaseSensitive = @caseToggle.getValue()
-    resultsView = new IDE.ContentSearchResultView { result, stats, searchText, isCaseSensitive }
+    resultsView     = new IDE.ContentSearchResultView { result, stats, searchText, isCaseSensitive }
+
     @emit 'ViewNeedsToBeShown', resultsView
     @destroy()
 

      return line.trimLeft()
    .filter (line) ->
      # Skip lines that aren't one of these
      return MAIN_LINE.test(line) or CONTEXT_LINE.test(line)
    .map (line) ->
      # Get the matches
      return line.match(MAIN_LINE) or line.match(CONTEXT_LINE)
    .reduce( (accu, matches) ->
      # Extract matches
      [fileName, lineNumber, line] = [matches[1], parseInt(matches[2], 10), matches[3]]

        accu[fileName] = []

      # Add line to list of lines found for this filename
      accu[fileName].push { lineNumber, line, occurence: mainLineRegex.test(matches[0]) }

      # Increment matches
      stats.numberOfMatches += 1
