Skip to content

Commit b9110d3

Browse files
authored
Merge pull request microsoft#201451 from jcarrus/justin.increase-editor-stickyScroll-maxLineCount
Increase editor.stickyScroll.maxLineCount from 10 to 20
2 parents 01ce8d8 + c700d34 commit b9110d3

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
@@ -2825,7 +2825,7 @@ class EditorStickyScroll extends BaseEditorOption<EditorOption.stickyScroll, IEd
28252825
type: 'number',
28262826
default: defaults.maxLineCount,
28272827
minimum: 1,
2828-
maximum: 10,
2828+
maximum: 20,
28292829
description: nls.localize('editor.stickyScroll.maxLineCount', "Defines the maximum number of sticky lines to show.")
28302830
},
28312831
'editor.stickyScroll.defaultModel': {
@@ -2850,7 +2850,7 @@ class EditorStickyScroll extends BaseEditorOption<EditorOption.stickyScroll, IEd
28502850
const input = _input as IEditorStickyScrollOptions;
28512851
return {
28522852
enabled: boolean(input.enabled, this.defaultValue.enabled),
2853-
maxLineCount: EditorIntOption.clampedInt(input.maxLineCount, this.defaultValue.maxLineCount, 1, 10),
2853+
maxLineCount: EditorIntOption.clampedInt(input.maxLineCount, this.defaultValue.maxLineCount, 1, 20),
28542854
defaultModel: stringSet<'outlineModel' | 'foldingProviderModel' | 'indentationModel'>(input.defaultModel, this.defaultValue.defaultModel, ['outlineModel', 'foldingProviderModel', 'indentationModel']),
28552855
scrollWithEditor: boolean(input.scrollWithEditor, this.defaultValue.scrollWithEditor)
28562856
};

0 commit comments

Comments
 (0)