         tile.display = "none"
       else
         delete @state.content.tiles[id]
-
 
   updateLinesState: (tileState, startRow, endRow) ->
     tileState.lines ?= {}

    @updateScrollbarDimensions()
    @updateStartRow()
    @updateEndRow()

    @updateFocusedState() if @shouldUpdateFocusedState
    @updateHeightState() if @shouldUpdateHeightState

    @state.content.backgroundColor = if @model.isMini() then null else @backgroundColor
    @state.content.placeholderText = if @model.isEmpty() then @model.getPlaceholderText() else null

  tileForRow: (row) ->
    row - (row % @tileSize)

  getVisibleTilesRange: ->
    startTileRow = Math.max(0, @tileForRow(@startRow) - @tileOverdrawMargin)
    endTileRow = Math.min(
      @tileForRow(@model.getScreenLineCount()),
