Update EditSession

This commit is contained in:
Garen Torikian
2013-05-01 13:50:38 -07:00
parent 2bf7adef5c
commit b0e4ce7bb8
3 changed files with 229 additions and 460 deletions

View File

@@ -236,13 +236,13 @@ class DisplayBuffer
bufferRangeForScreenRange: (screenRange) ->
@lineMap.bufferRangeForScreenRange(screenRange)
# Gets the number of lines in the buffer.
# Gets the number of screen lines.
#
# Returns a {Number}.
getLineCount: ->
@lineMap.getScreenLineCount()
# Gets the number of the last row in the buffer.
# Gets the number of the last screen line.
#
# Returns a {Number}.
getLastRow: ->