mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Setting variable line height and font setting options to false for simple editors (#253626)
setting options to false for simple editor
This commit is contained in:
committed by
GitHub
parent
70fa275852
commit
2a4faa2c6d
@@ -49,6 +49,9 @@ export function getSimpleEditorOptions(configurationService: IConfigurationServi
|
||||
cursorBlinking: configurationService.getValue<'blink' | 'smooth' | 'phase' | 'expand' | 'solid'>('editor.cursorBlinking'),
|
||||
editContext: configurationService.getValue<boolean>('editor.editContext'),
|
||||
defaultColorDecorators: 'never',
|
||||
allowVariableLineHeights: false,
|
||||
allowVariableFonts: false,
|
||||
allowVariableFontsInAccessibilityMode: false,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -421,7 +421,6 @@ export class BreakpointWidget extends ZoneWidget implements IPrivateBreakpointWi
|
||||
options.lineHeight = editorConfig.lineHeight;
|
||||
options.fontLigatures = editorConfig.fontLigatures;
|
||||
options.ariaLabel = this.placeholder;
|
||||
options.allowVariableLineHeights = false;
|
||||
return options;
|
||||
}
|
||||
|
||||
|
||||
@@ -737,7 +737,6 @@ export class Repl extends FilterViewPane implements IHistoryNavigationWidget {
|
||||
const config = this.configurationService.getValue<IDebugConfiguration>('debug');
|
||||
options.acceptSuggestionOnEnter = config.console.acceptSuggestionOnEnter === 'on' ? 'on' : 'off';
|
||||
options.ariaLabel = this.getAriaLabel();
|
||||
options.allowVariableLineHeights = false;
|
||||
|
||||
this.replInput = this.scopedInstantiationService.createInstance(CodeEditorWidget, this.replInputContainer, options, getSimpleCodeEditorWidgetOptions());
|
||||
|
||||
|
||||
@@ -1561,7 +1561,6 @@ class SCMInputWidgetEditorOptions {
|
||||
return {
|
||||
...getSimpleEditorOptions(this.configurationService),
|
||||
...this.getEditorOptions(),
|
||||
allowVariableLineHeights: false,
|
||||
dragAndDrop: true,
|
||||
dropIntoEditor: { enabled: true },
|
||||
formatOnType: true,
|
||||
|
||||
Reference in New Issue
Block a user