mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fix LanguageMode::foldAllAtIndentLevel
This commit is contained in:
@@ -113,6 +113,7 @@ class LanguageMode
|
||||
#
|
||||
# indentLevel - A {Number} indicating indentLevel; 0 based.
|
||||
foldAllAtIndentLevel: (indentLevel) ->
|
||||
@unfoldAll()
|
||||
for currentRow in [0..@buffer.getLastRow()]
|
||||
[startRow, endRow] = @rowRangeForFoldAtBufferRow(currentRow) ? []
|
||||
continue unless startRow?
|
||||
|
||||
Reference in New Issue
Block a user