Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase editor.stickyScroll.maxLineCount from 10 to 20 #201451

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vs/editor/common/config/editorOptions.ts
Expand Up @@ -2825,7 +2825,7 @@ class EditorStickyScroll extends BaseEditorOption<EditorOption.stickyScroll, IEd
type: 'number',
default: defaults.maxLineCount,
minimum: 1,
maximum: 10,
maximum: 20,
description: nls.localize('editor.stickyScroll.maxLineCount', "Defines the maximum number of sticky lines to show.")
},
'editor.stickyScroll.defaultModel': {
Expand All @@ -2850,7 +2850,7 @@ class EditorStickyScroll extends BaseEditorOption<EditorOption.stickyScroll, IEd
const input = _input as IEditorStickyScrollOptions;
return {
enabled: boolean(input.enabled, this.defaultValue.enabled),
maxLineCount: EditorIntOption.clampedInt(input.maxLineCount, this.defaultValue.maxLineCount, 1, 10),
maxLineCount: EditorIntOption.clampedInt(input.maxLineCount, this.defaultValue.maxLineCount, 1, 20),
defaultModel: stringSet<'outlineModel' | 'foldingProviderModel' | 'indentationModel'>(input.defaultModel, this.defaultValue.defaultModel, ['outlineModel', 'foldingProviderModel', 'indentationModel']),
scrollWithEditor: boolean(input.scrollWithEditor, this.defaultValue.scrollWithEditor)
};
Expand Down