 
   # Internal: Draws a single token on the given context.
   #
-  # context - The canvas context {Object} onto which draw the token.
+  # 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.

      else
        context.fillRect(0,y*lineHeight,canvasWidth,lineHeight)

  copyBitmapPart: (context, bitmapCanvas, srcRow, destRow, rowCount) ->
    lineHeight = @getLineHeight()
    context.drawImage(bitmapCanvas,


    x

  # Internal: Draws a highlight decoration on the passed-in context.
  #
  # It renders only the part of the highlight corresponding to the specified
  # row.
  #
  # context - The canvas context object.
  # decoration - The `Decoration` object to render.
  # y - The {Number} position on the y axis at which render the decoration.
  # screenRow - The row {Number} corresponding to the rendered row.
  # lineHeight - The {Number} for the line height.
  # charWidth - The {Number} for the character width.
  # canvasWidth - The {Number} of the canvas width.
  drawHighlightDecoration: (context, decoration, y, screenRow, lineHeight, charWidth, canvasWidth) ->
    context.fillStyle = @getDecorationColor(decoration)
    range = decoration.getMarker().getScreenRange()
