mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add Editor.logRenderedLines to help debugging
This commit is contained in:
@@ -813,3 +813,7 @@ class Editor extends View
|
||||
|
||||
logLines: (start, end) ->
|
||||
@renderer.logLines(start, end)
|
||||
|
||||
logRenderedLines: ->
|
||||
@visibleLines.find('.line').each (n) ->
|
||||
console.log n, $(this).text()
|
||||
|
||||
Reference in New Issue
Block a user