mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
DisplayBuffer::linesForRows -> ::tokenizedLinesForScreenRows
Clarity!
This commit is contained in:
@@ -389,7 +389,7 @@ class DisplayBuffer extends Model
|
||||
# endRow - A {Number} indicating the ending screen row.
|
||||
#
|
||||
# Returns an {Array} of {TokenizedLine}s.
|
||||
linesForRows: (startRow, endRow) ->
|
||||
tokenizedLinesForScreenRows: (startRow, endRow) ->
|
||||
@screenLines[startRow..endRow]
|
||||
|
||||
# Gets all the screen lines.
|
||||
|
||||
Reference in New Issue
Block a user