Update call to TextBuffer::rangeForRow

This commit is contained in:
Corey Johnson
2014-04-22 17:52:07 -07:00
parent 6b833043db
commit a15bb260c0

View File

@@ -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.