Skip to content

Commit 676d7ba

Browse files
committed
Increase editor.stickyScroll.maxLineCount from 10 to 20
1 parent 860d670 commit 676d7ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/editor/common/config/editorOptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2822,7 +2822,7 @@ class EditorStickyScroll extends BaseEditorOption<EditorOption.stickyScroll, IEd
28222822
type: 'number',
28232823
default: defaults.maxLineCount,
28242824
minimum: 1,
2825-
maximum: 10,
2825+
maximum: 20,
28262826
description: nls.localize('editor.stickyScroll.maxLineCount', "Defines the maximum number of sticky lines to show.")
28272827
},
28282828
'editor.stickyScroll.defaultModel': {
@@ -2847,7 +2847,7 @@ class EditorStickyScroll extends BaseEditorOption<EditorOption.stickyScroll, IEd
28472847
const input = _input as IEditorStickyScrollOptions;
28482848
return {
28492849
enabled: boolean(input.enabled, this.defaultValue.enabled),
2850-
maxLineCount: EditorIntOption.clampedInt(input.maxLineCount, this.defaultValue.maxLineCount, 1, 10),
2850+
maxLineCount: EditorIntOption.clampedInt(input.maxLineCount, this.defaultValue.maxLineCount, 1, 20),
28512851
defaultModel: stringSet<'outlineModel' | 'foldingProviderModel' | 'indentationModel'>(input.defaultModel, this.defaultValue.defaultModel, ['outlineModel', 'foldingProviderModel', 'indentationModel']),
28522852
scrollWithEditor: boolean(input.scrollWithEditor, this.defaultValue.scrollWithEditor)
28532853
};

0 commit comments

Comments
 (0)