提交 38d4f986 编写于 作者: M Martin Aeschlimann

Fixes #3398: [folding] Fold action does not respect current folding block

上级 6de9982a
......@@ -366,7 +366,7 @@ export class FoldingController implements editorCommon.IEditorContribution {
return false;
}
let decRange = dec.getDecorationRange(model);
return decRange && decRange.startLineNumber <= lineNumber && lineNumber < decRange.endLineNumber;
return decRange && decRange.startLineNumber <= lineNumber && lineNumber <= decRange.endLineNumber;
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册