mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 09:35:41 -05:00
Merge from vscode 52dcb723a39ae75bee1bd56b3312d7fcdc87aeed (#6719)
This commit is contained in:
@@ -153,7 +153,7 @@ function createAriaDomNode() {
|
||||
*/
|
||||
export class StandaloneCodeEditor extends CodeEditorWidget implements IStandaloneCodeEditor {
|
||||
|
||||
private readonly _standaloneKeybindingService: StandaloneKeybindingService;
|
||||
private readonly _standaloneKeybindingService: StandaloneKeybindingService | null;
|
||||
|
||||
constructor(
|
||||
domElement: HTMLElement,
|
||||
@@ -178,6 +178,8 @@ export class StandaloneCodeEditor extends CodeEditorWidget implements IStandalon
|
||||
|
||||
if (keybindingService instanceof StandaloneKeybindingService) {
|
||||
this._standaloneKeybindingService = keybindingService;
|
||||
} else {
|
||||
this._standaloneKeybindingService = null;
|
||||
}
|
||||
|
||||
// Create the ARIA dom node as soon as the first editor is instantiated
|
||||
|
||||
Reference in New Issue
Block a user