           # writes
           fastdom.mutate ->
             res.forEach (m) -> m.updateWidth(rect)
-          ed.presenter.updating = false
-        # ed.presenter.onDidUpdateState listener
+          ), 100)
+
+        # ed.presenter.onDidUpdateState ->
+        #   console.log "didUpdateState"
 
         resizer.listenTo el, listener
 

      el = @editor.editorElement
      if not results.hasOwnProperty(ed.id)
        results[ed.id] = true
        listener = ->
          ed.presenter.updating = true
          # ed.element.component.requestAnimationFrame ->
          res = ed.findMarkers().filter((m) -> m.result?).map((m) -> m.result)
          # reads

    @disposables.add @marker.onDidChange (e) => @checkMarker e

  readOffsetLeft: ->
    @left = if @view.parentElement?
      parseInt @view.parentElement.style.left
    else
      0

  updateWidth: (elRect = @editor.editorElement.getBoundingClientRect()) ->
    w = elRect.width + elRect.left - 40 - @left
    if w < 100 then w = 100
    @view.style.maxWidth = w + 'px'
