   updateState: ->
     @updateContentHeight()
     @updateHeight()
+    @updateContentWidth()
 
     @updateHeightState()
     @updateVerticalScrollState()

    @characterWidthsChanged() unless @batchingCharacterMeasurement

  characterWidthsChanged: ->
    @updateHorizontalScrollState()
    @updateContentState()
    @updateDecorations()

    Math.min(@model.getScreenLineCount(), endRow)

  computeScrollWidth: ->
    Math.max(@contentWidth, @computeClientWidth())

  computeScrollHeight: ->
    contentHeight = @contentHeight
