 
   lastRect: {width: -1}
 
-  isInViewport: (edRect) ->
+  decideUpdate: (edRect) ->
     @isVisible = false
     @left = 0
     @shouldUpdate = false

      ed = @editor
      edView = atom.views.getView(@editor)
      if not resultEditorRegistry.has ed.id
        lastRect = null
        resultEditorRegistry.add ed.id
        # create new editor specific result animation method
        listener = -> setTimeout (->

            resultEditorRegistry.delete ed.id
            return

          # reads:
          rect = null
          fastdom.measure ->
            rect = edView.getBoundingClientRect()
            res.forEach (m) -> m.decideUpdate(rect)

          # writes:
          fastdom.mutate ->
            res.forEach (m) -> m.updateWidth(rect)

          # batched updates:
          process.nextTick -> requestAnimationFrame listener
          ), 15*1000/60 # update every 15th frame
        window.requestAnimationFrame listener

  initMarker: ->
