diff options
Diffstat (limited to 'src/vs/editor/contrib/folding/browser/folding.ts')
-rw-r--r-- | src/vs/editor/contrib/folding/browser/folding.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vs/editor/contrib/folding/browser/folding.ts b/src/vs/editor/contrib/folding/browser/folding.ts index fec26e69c77..c35cdb69a65 100644 --- a/src/vs/editor/contrib/folding/browser/folding.ts +++ b/src/vs/editor/contrib/folding/browser/folding.ts @@ -32,7 +32,7 @@ import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegis import { editorSelectionBackground, iconForeground, registerColor, transparent } from 'vs/platform/theme/common/colorRegistry'; import { registerThemingParticipant, ThemeIcon } from 'vs/platform/theme/common/themeService'; import { foldingCollapsedIcon, FoldingDecorationProvider, foldingExpandedIcon, foldingManualCollapsedIcon, foldingManualExpandedIcon } from './foldingDecorations'; -import { FoldingRegion, FoldingRegions, FoldRange, ILineRange } from './foldingRanges'; +import { FoldingRegion, FoldingRegions, FoldRange, FoldSource, ILineRange } from './foldingRanges'; import { SyntaxRangeProvider } from './syntaxRangeProvider'; import { INotificationService } from 'vs/platform/notification/common/notification'; import Severity from 'vs/base/common/severity'; @@ -1097,8 +1097,7 @@ class FoldRangeFromSelectionAction extends FoldingAction<void> { endLineNumber: endLineNumber, type: undefined, isCollapsed: true, - isUserDefined: true, - isRecovered: false + source: FoldSource.userDefined }); editor.setSelection({ startLineNumber: selection.startLineNumber, |