       @scrollHeight = scrollHeight
       @updateScrollTop(@scrollTop)
 
-  getLinesHeight: ->
-    @lineHeight * @model.getScreenLineCount()
-
   updateVerticalDimensions: ->
     if @lineHeight?
       oldContentHeight = @contentHeight


  getEndTileRow: ->
    @constrainRow(@tileForRow(@endRow))

  getTileSize: ->
    @tileSize

  isValidScreenRow: (screenRow) ->
    screenRow >= 0 and screenRow < @model.getScreenLineCount()

    return unless cursor.isVisible() and @startRow <= screenRange.start.row < @endRow

    pixelRect = @pixelRectForScreenRange(screenRange)
    pixelRect.width = Math.round(@baseCharacterWidth) if pixelRect.width is 0
    @state.content.cursors[cursor.id] = pixelRect

