       decorationState.flashCount++
       decorationState.flashClass = flash.class
       decorationState.flashDuration = flash.duration
-      @emitter.emit "did-update-state"
+      @needsRefresh()
 
   didAddDecoration: (decoration) ->
     @observeDecoration(decoration)

    @shouldUpdateGutterState = false
    @shouldUpdateLineNumbersState = false

    @enterBatchMode()

  observeModel: ->
    @disposables.add @model.onDidChange =>

    highlightState.class = properties.class
    highlightState.deprecatedRegionClass = properties.deprecatedRegionClass
    highlightState.regions = @buildHighlightRegions(range)
    @needsRefresh()

    true

