mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 52dcb723a39ae75bee1bd56b3312d7fcdc87aeed (#6719)
This commit is contained in:
@@ -68,7 +68,7 @@ export abstract class CommonEditorConfiguration extends Disposable implements ed
|
||||
public readonly isSimpleWidget: boolean;
|
||||
protected _rawOptions: editorOptions.IEditorOptions;
|
||||
protected _validatedOptions: editorOptions.IValidatedEditorOptions;
|
||||
public editor: editorOptions.InternalEditorOptions;
|
||||
public editor!: editorOptions.InternalEditorOptions;
|
||||
private _isDominatedByLongLines: boolean;
|
||||
private _lineNumbersDigitCount: number;
|
||||
|
||||
@@ -268,6 +268,11 @@ const editorConfiguration: IConfigurationNode = {
|
||||
'default': 'on',
|
||||
'description': nls.localize('lineNumbers', "Controls the display of line numbers.")
|
||||
},
|
||||
'editor.cursorSurroundingLines': {
|
||||
'type': 'number',
|
||||
'default': EDITOR_DEFAULTS.viewInfo.cursorSurroundingLines,
|
||||
'description': nls.localize('cursorSurroundingLines', "Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")
|
||||
},
|
||||
'editor.renderFinalNewline': {
|
||||
'type': 'boolean',
|
||||
'default': EDITOR_DEFAULTS.viewInfo.renderFinalNewline,
|
||||
|
||||
Reference in New Issue
Block a user