         newRanges.push ranges
 
     if (newRanges = _.flatten(newRanges)).length
-      @flash newRanges
+      @flash(newRanges) if @needFlash()
     else
       atom.beep()
 


    if @needFlash()
      @onDidSelectTarget =>
        @flash @editor.getSelectedBufferRanges()

    if @needTrackChange()
      marker = null

      newRanges = for selection in @editor.getSelectionsOrderedByBufferPosition()
        @replaceNumber(selection.getBufferRange(), pattern)
    if (newRanges = _.flatten(newRanges)).length
      @flash(newRanges) if @needFlash()
    else
      atom.beep()
    for selection in @editor.getSelections()
