       @props.parentView.trigger 'editor:display-updated'
 
   becameVisible: ->
+    @updatesPaused = true
     @sampleFontStyling()
     @sampleBackgroundColors()
     @measureHeightAndWidth()

  componentWillReceiveProps: (newProps) ->
    @props.editor.setMini(newProps.mini)

  componentWillUpdate: ->
    @updatesPaused = true
    @checkForVisibilityChange()
    @updatesPaused = false

  componentDidUpdate: (prevProps, prevState) ->
    cursorsMoved = @cursorsMoved
    selectionChanged = @selectionChanged

    @remeasureCharacterWidths() if @remeasureCharacterWidthsWhenShown
    @props.editor.setVisible(true)
    @performedInitialMeasurement = true
    @updatesPaused = false
    @forceUpdate() if @updateRequestedWhilePaused

  requestUpdate: ->
    return unless @isMounted()
