         styles: @sharedGutterStyles
       })
     @state.gutters.customDecorations = @customGutterDecorations # TODO jssln Remove
+    @state.gutters.lineNumberGutter = @lineNumberGutter # TODO jssln Remove
 
   # Updates the decoration state for the gutter with the given gutterName.
   # @customGutterDecorations is an {Object}, with the form:

    return

  updateLineNumberGutterState: ->
    @state.gutters.lineNumberGutter.maxLineNumberDigits = @model.getLineCount().toString().length

  updateCommonGutterState: ->
    @sharedGutterStyles.backgroundColor = if @gutterBackgroundColor isnt "rgba(0, 0, 0, 0)"

    # Shared state that is copied into ``@state.gutters`.
    @sharedGutterStyles = {}
    @customGutterDecorations = {}
    @lineNumberGutter =
      lineNumbers: {}

    @updateState()

