 
 metrics = throttle metrics, 60*60*1000
 
-resultEditorRegistry = {}
+resultEditorRegistry = new Set
+layers = {}
 
 module.exports =
 class Result

        window.requestAnimationFrame listener

  initMarker: ->
    @marker = @editor.markBufferRange @lineRange(@start, @end)
    @marker.result = @
    @decorateMarker()
    @disposables.add @marker.onDidChange (e) => @checkMarker e

        resultEditorRegistry[ed.id] = true
        # create new editor specific result animation method
        listener = debounce((->
          res = layers[ed.id].getMarkers().filter((m) -> m.result?).map((m) -> m.result)
          # reads
          rect = null
          fastdom.measure ->
