             @getDefaultColor()
 
           chars = 0
-          y0 = y*lineHeight
+
           for char in token.value
             if /\s/.test char
               if chars > 0

      @tokenColorCache[flatScopes] = color
    @tokenColorCache[flatScopes]

  drawLines: (context, firstRow, lastRow, offsetRow) ->
    return if firstRow > lastRow
    lines = @editor.linesForScreenRows(firstRow, lastRow)
    lineHeight = @getLineHeight()
    charHeight = @getCharHeight()
    charWidth = @getCharWidth()
    context.lineWidth = charHeight
    displayCodeHighlights = @minimapView.displayCodeHighlights
    decorations = @decorationsForScreenRowRange(firstRow, lastRow)

    for line, row in lines
      x = 0
      y = offsetRow + row
      for token in line.tokens
        w = token.screenDelta
        unless token.isOnlyWhitespace() or token.hasInvisibleCharacters

    @pendingChanges = []
    @context = @lineCanvas[0].getContext('2d')
    @tokenColorCache = {}
    @decorationColorCache = {}
    @initializeDecorations()

    @offscreenCanvas = document.createElement('canvas')
