mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Add RowMap::inspect, which returns a string for debugging the regions
This commit is contained in:
@@ -174,3 +174,6 @@ class RowMap
|
||||
bufferRow += region.bufferRows
|
||||
screenRow += region.screenRows
|
||||
{ index, screenRow, bufferRow }
|
||||
|
||||
inspect: ->
|
||||
@regions.map(({screenRows, bufferRows}) -> "#{screenRows}:#{bufferRows}").join(', ')
|
||||
|
||||
Reference in New Issue
Block a user