mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 15:25:47 +01:00
lcd - revert layer promotion for now (#86396)
* lcd - revert layer promotion for now * Revert "Fix #86347. Fixed overflow widget only for extension viewlet" This reverts commitbeb8a0c7b7. * Revert "Re #85313. Fix suggest widget position for extension editor." This reverts commit9d47191895. * repatch titlebar for AA fix
This commit is contained in:
committed by
SteVen Batten
parent
1beea2f864
commit
e7c1372393
@@ -13,7 +13,7 @@ import { SelectionClipboardContributionID } from 'vs/workbench/contrib/codeEdito
|
||||
import { TabCompletionController } from 'vs/workbench/contrib/snippets/browser/tabCompletion';
|
||||
import { EditorExtensionsRegistry } from 'vs/editor/browser/editorExtensions';
|
||||
|
||||
export function getSimpleEditorOptions(fixedOverflowWidgets: boolean = true): IEditorOptions {
|
||||
export function getSimpleEditorOptions(): IEditorOptions {
|
||||
return {
|
||||
wordWrap: 'on',
|
||||
overviewRulerLanes: 0,
|
||||
@@ -30,7 +30,7 @@ export function getSimpleEditorOptions(fixedOverflowWidgets: boolean = true): IE
|
||||
overviewRulerBorder: false,
|
||||
scrollBeyondLastLine: false,
|
||||
renderLineHighlight: 'none',
|
||||
fixedOverflowWidgets: fixedOverflowWidgets,
|
||||
fixedOverflowWidgets: true,
|
||||
acceptSuggestionOnEnter: 'smart',
|
||||
minimap: {
|
||||
enabled: false
|
||||
|
||||
+1
-2
@@ -72,7 +72,6 @@ interface SuggestEnabledInputOptions {
|
||||
* Context key tracking the focus state of this element
|
||||
*/
|
||||
focusContextKey?: IContextKey<boolean>;
|
||||
fixedOverflowWidgets?: boolean;
|
||||
}
|
||||
|
||||
export interface ISuggestEnabledInputStyleOverrides extends IStyleOverrides {
|
||||
@@ -127,7 +126,7 @@ export class SuggestEnabledInput extends Widget implements IThemable {
|
||||
this.placeholderText = append(this.stylingContainer, $('.suggest-input-placeholder', undefined, options.placeholderText || ''));
|
||||
|
||||
const editorOptions: IEditorOptions = mixin(
|
||||
getSimpleEditorOptions(!!options.fixedOverflowWidgets),
|
||||
getSimpleEditorOptions(),
|
||||
getSuggestEnabledInputOptions(ariaLabel));
|
||||
|
||||
this.inputWidget = instantiationService.createInstance(CodeEditorWidget, this.stylingContainer,
|
||||
|
||||
Reference in New Issue
Block a user