mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Pass in disposable store to disposableTimeout (#200031)
Pass in disposable store to disposableTimeout (#193613)
This commit is contained in:
parent
d8e218558b
commit
65d0130a5c
|
@ -192,7 +192,7 @@ export class MarkerHoverParticipant implements IEditorHoverParticipant<MarkerHov
|
|||
this.recentMarkerCodeActionsInfo = undefined;
|
||||
}
|
||||
}
|
||||
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposables.add(disposableTimeout(() => quickfixPlaceholderElement.textContent = nls.localize('checkingForQuickFixes', "Checking for quick fixes..."), 200));
|
||||
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = nls.localize('checkingForQuickFixes', "Checking for quick fixes..."), 200, disposables);
|
||||
if (!quickfixPlaceholderElement.textContent) {
|
||||
// Have some content in here to avoid flickering
|
||||
quickfixPlaceholderElement.textContent = String.fromCharCode(0xA0); //
|
||||
|
|
Loading…
Reference in a new issue