mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fix nesting level calculation for children of partially-folded nodes
Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
committed by
Nathan Sobo
parent
136dc86584
commit
f712de65d0
@@ -3891,7 +3891,7 @@ class TextEditor {
|
||||
|
||||
// Extended: Fold all foldable lines at the given indent level.
|
||||
//
|
||||
// * `level` A {Number}.
|
||||
// * `level` A {Number} starting at 0.
|
||||
foldAllAtIndentLevel (level) {
|
||||
const languageMode = this.buffer.getLanguageMode()
|
||||
const foldableRanges = (
|
||||
|
||||
Reference in New Issue
Block a user