mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Fix unfoldBufferRow
This commit is contained in:
@@ -3316,7 +3316,8 @@ class TextEditor extends Model
|
||||
|
||||
# Essential: Unfold the most recent cursor's row by one level.
|
||||
unfoldCurrentRow: ->
|
||||
position = @getCursorBufferPosition()
|
||||
{row} = @getCursorBufferPosition()
|
||||
position = Point(row, Infinity)
|
||||
@displayLayer.destroyFoldsIntersectingBufferRange(Range(position, position))
|
||||
|
||||
# Essential: Fold the given row in buffer coordinates based on its indentation
|
||||
|
||||
Reference in New Issue
Block a user