       @props.parentView.trigger 'selection:changed' if selectionChanged
       @props.parentView.trigger 'editor:display-updated'
 
+    @visible = @isVisible()
     @measureScrollbars() if @measuringScrollbars
-    @measureLineHeightAndCharWidthsIfNeeded(prevState)
+    @measureLineHeightAndDefaultCharWidthIfNeeded(prevState)
     @remeasureCharacterWidthsIfNeeded(prevState)
 
   requestUpdate: ->

    {editor} = @props
    Math.max(1, Math.ceil(editor.getHeight() / editor.getLineHeightInPixels()))

  getInitialState: ->
    visible: true

  getDefaultProps: ->
    cursorBlinkPeriod: 800


    editor.setVisible(true)

    @visible = @isVisible()
    @measureLineHeightAndDefaultCharWidth()
    @measureScrollView()
    @measureScrollbars()
