mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
Key line numbers by buffer row and soft-wrap count
…instead of an array. This will make things simpler to diff in the view.
This commit is contained in:
@@ -717,6 +717,8 @@ class TextEditor extends Model
|
||||
# {Delegates to: DisplayBuffer.bufferRowsForScreenRows}
|
||||
bufferRowsForScreenRows: (startRow, endRow) -> @displayBuffer.bufferRowsForScreenRows(startRow, endRow)
|
||||
|
||||
screenRowForBufferRow: (row) -> @displayBuffer.screenRowForBufferRow(row)
|
||||
|
||||
# {Delegates to: DisplayBuffer.getMaxLineLength}
|
||||
getMaxScreenLineLength: -> @displayBuffer.getMaxLineLength()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user