         decorationClasses = @lineNumberDecorationClassesForRow(screenRow)
         foldable = @model.isFoldableAtScreenRow(screenRow)
 
-        @state.gutters.lineNumberGutter.lineNumbers[id] = {screenRow, bufferRow, softWrapped, top, decorationClasses, foldable}
+        @lineNumberGutter.lineNumbers[id] = {screenRow, bufferRow, softWrapped, top, decorationClasses, foldable}
         visibleLineNumberIds[id] = true
 
     if @mouseWheelScreenRow?

        styles: @sharedGutterStyles
      })
    @state.gutters.customDecorations = @customGutterDecorations # TODO jssln Remove

  # Updates the decoration state for the gutter with the given gutterName.
  # @customGutterDecorations is an {Object}, with the form:

      id += '-' + wrapCount if wrapCount > 0
      visibleLineNumberIds[id] = true

    for id of @lineNumberGutter.lineNumbers
      delete @lineNumberGutter.lineNumbers[id] unless visibleLineNumberIds[id]

    return

