mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Update call to TextBuffer::rangeForRow
This commit is contained in:
@@ -469,7 +469,7 @@ class Editor extends Model
|
||||
# options - An options hash with an `includeNewline` key.
|
||||
#
|
||||
# Returns a {Range}.
|
||||
bufferRangeForBufferRow: (row, options) -> @buffer.rangeForRow(row, options)
|
||||
bufferRangeForBufferRow: (row, {includeNewline}={}) -> @buffer.rangeForRow(row, includeNewline)
|
||||
|
||||
# Public: Returns a {String} representing the contents of the line at the
|
||||
# given buffer row.
|
||||
|
||||
Reference in New Issue
Block a user