mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
EditSession.isFoldedAtScreenRow returns false for screen rows that do not exist.
This commit is contained in:
@@ -263,7 +263,7 @@ class EditSession
|
||||
@setCursorBufferPosition([fold.startRow, 0])
|
||||
|
||||
isFoldedAtScreenRow: (screenRow) ->
|
||||
@lineForScreenRow(screenRow).fold?
|
||||
@lineForScreenRow(screenRow)?.fold?
|
||||
|
||||
largestFoldContainingBufferRow: (bufferRow) ->
|
||||
@displayBuffer.largestFoldContainingBufferRow(bufferRow)
|
||||
|
||||
Reference in New Issue
Block a user