       node.appendChild(lineNode)
 
   buildLineHTML: (id) ->
-    {presenter, lineDecorations} = @props
+    {presenter} = @props
     {scrollWidth} = @newState
     {screenRow, tokens, text, top, lineEnding, fold, isSoftWrapped, indentLevel, decorationClasses} = @newState.lines[id]
 

    delete @oldState.lines[id]

  updateLineNodes: ->
    {presenter, lineDecorations, mouseWheelScreenRow} = @props

    for id of @oldState.lines
      unless @newState.lines.hasOwnProperty(id) or mouseWheelScreenRow is @screenRowsByLineId[id]

    @measureCharactersInNewLines()

  measureCharactersInNewLines: ->
    {editor} = @props
    node = @getDOMNode()

    editor.batchCharacterMeasurement =>
