   #    ##     ## ##    ##  ##     ## ##  ##  ##
   #    ########  ##     ## ##     ##  ###  ###
 
+  # Internal: Draws lines on the passed-in `context`.
+  #
+  # The lines range to draw is specified by the `firstRow` and `lastRow`
+  # parameters.
+  #
+  # context - The canvas context {Object} into which drawing the lines.
+  # firstRow - The starting row {Number} of the lines range to draw.
+  # endRow - The ending row {Number} of the lines range to draw.
+  # offsetRow - The offset {Number} to apply to rows index.
   drawLines: (context, firstRow, lastRow, offsetRow) ->
     return if firstRow > lastRow
-    if @editor.tokenizedLinesForScreenRows?
-      lines = @editor.tokenizedLinesForScreenRows(firstRow, lastRow)
-    else
-      lines = @editor.linesForScreenRows(firstRow, lastRow)
+
+    lines = @editor.tokenizedLinesForScreenRows(firstRow, lastRow)
     lineHeight = @getLineHeight()
     charHeight = @getCharHeight()
     charWidth = @getCharWidth()


    line = lines[0]

    if line.invisibles?
      re = ///
      #{line.invisibles.cr}|

        else
          x += w * charWidth

      # Finally the highlight over decorations are drawn.
      highlightDecorations = @decorationsByTypesForRow(firstRow + row, 'highlight', 'highlight-over', decorations)
      for decoration in highlightDecorations
        @drawHighlightDecoration(context, decoration, y, screenRow, lineHeight, charWidth, canvasWidth)

    context.fill()

  # Internal: Draws a single token on the given context.
  #
  # context - The canvas context {Object} onto which draw the token.
  # text - The {String} text of the token.
  # color - The {String} color of the token.
  # x - The {Number} position on the x axis at which render the token.
  # y - The {Number} position on the y axis at which render the token.
  # charWidth - The char width {Number}.
  # charHeight - The char height {Number}.
  #
  # Returns a {Number} that correspond to the new x position after the render.
  drawToken: (context, text, color, x, y, charWidth, charHeight) ->
    context.fillStyle = color
    chars = 0
