More 🔥

This commit is contained in:
Antonio Scandurra
2015-12-03 13:09:10 +01:00
parent e75263b5e0
commit 47644ee487

View File

@@ -391,9 +391,6 @@ class TextEditorPresenter
getEndTileRow: ->
@constrainRow(@tileForRow(@endRow))
getTileSize: ->
@tileSize
isValidScreenRow: (screenRow) ->
screenRow >= 0 and screenRow < @model.getScreenLineCount()
@@ -533,7 +530,6 @@ class TextEditorPresenter
return unless cursor.isVisible() and @startRow <= screenRange.start.row < @endRow
pixelRect = @pixelRectForScreenRange(screenRange)
pixelRect.height = @lineHeight
pixelRect.width = Math.round(@baseCharacterWidth) if pixelRect.width is 0
@state.content.cursors[cursor.id] = pixelRect
@@ -762,9 +758,6 @@ class TextEditorPresenter
@scrollHeight = scrollHeight
@updateScrollTop(@scrollTop)
getLinesHeight: ->
@lineHeight * @model.getScreenLineCount()
updateVerticalDimensions: ->
if @lineHeight?
oldContentHeight = @contentHeight