mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-06-23 03:35:08 -04:00
Merge from vscode a416c77e56ef0314ae00633faa04878151610de8 (#8600)
* Merge from vscode a416c77e56ef0314ae00633faa04878151610de8 * distro * fix tests * fix tests
This commit is contained in:
@@ -874,6 +874,7 @@ export class CodeEditorWidget extends Disposable implements editorBrowser.ICodeE
|
||||
|
||||
public onHide(): void {
|
||||
this._modelData?.view.refreshFocusState();
|
||||
this._focusTracker.refreshState();
|
||||
}
|
||||
|
||||
public getContribution<T extends editorCommon.IEditorContribution>(id: string): T {
|
||||
@@ -1806,6 +1807,12 @@ class CodeEditorWidgetFocusTracker extends Disposable {
|
||||
public hasFocus(): boolean {
|
||||
return this._hasFocus;
|
||||
}
|
||||
|
||||
public refreshState(): void {
|
||||
if (this._domFocusTracker.refreshState) {
|
||||
this._domFocusTracker.refreshState();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const squigglyStart = encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='`);
|
||||
|
||||
Reference in New Issue
Block a user