mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
ensure vscode.window.showTextEditor opens a text editor not a custom editor, #96397
This commit is contained in:
@@ -124,7 +124,8 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
|
||||
selection: options.selection,
|
||||
// preserve pre 1.38 behaviour to not make group active when preserveFocus: true
|
||||
// but make sure to restore the editor to fix https://github.com/microsoft/vscode/issues/79633
|
||||
activation: options.preserveFocus ? EditorActivation.RESTORE : undefined
|
||||
activation: options.preserveFocus ? EditorActivation.RESTORE : undefined,
|
||||
ignoreOverrides: true
|
||||
};
|
||||
|
||||
const input: IResourceEditorInput = {
|
||||
|
||||
Reference in New Issue
Block a user