     @updateLinesState()
     @updateCursorsState()
     @updateOverlaysState()
-    @updateGutterState()
+    @updateLineNumberGutterState()
     @updateLineNumbersState()
 
   updateFocusedState: -> @batch "shouldUpdateFocusedState", ->

    unless @backgroundColor is backgroundColor
      @backgroundColor = backgroundColor
      @updateContentState()
      @updateGutterState()

  setGutterBackgroundColor: (gutterBackgroundColor) ->
    unless @gutterBackgroundColor is gutterBackgroundColor
      @gutterBackgroundColor = gutterBackgroundColor
      @updateGutterState()

  setLineHeight: (lineHeight) ->
    unless @lineHeight is lineHeight


    return

  updateLineNumberGutterState: -> @batch "shouldUpdateLineNumberGutterState", ->
    @state.gutter.visible = not @model.isMini() and (@model.isLineNumberGutterVisible() ? true) and @showLineNumbers
    @state.gutter.maxLineNumberDigits = @model.getLineCount().toString().length
    @state.gutter.backgroundColor = if @gutterBackgroundColor isnt "rgba(0, 0, 0, 0)"
