     dragging = false
     lastMousePosition = {}
     animationLoop = =>
+      @pauseScrollViewMeasurement()
       requestAnimationFrame =>
         if dragging
           screenPosition = @screenPositionForMouseEvent(lastMousePosition)

    window.addEventListener('mousemove', onMouseMove)
    window.addEventListener('mouseup', onMouseUp)

  requestScrollViewMeasurement: ->
    return if @measurementPending

    @scrollViewMeasurementRequested = true
    requestAnimationFrame =>

  inputEnabled: true
  scrollViewMeasurementInterval: 100
  scopedCharacterWidthsChangeCount: null
  scrollViewMeasurementPaused: false

  render: ->
    {focused, fontSize, lineHeight, fontFamily, showIndentGuide, showInvisibles, showLineNumbers, visible} = @state
