From 855b9b1161b34099c10d81562c31183abf7ee322 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Fri, 12 Dec 2025 14:01:28 +1100 Subject: [PATCH] Revert "Fixed wrong negation in the _shouldRenderHint logic. (#242479)" (#282913) This reverts commit 5dab7809de7d46dffea7180dddcde7100f2ab4d6. --- .../notebook/browser/contrib/editorHint/emptyCellEditorHint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.ts b/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.ts index ae54b74c7a4..0870ac79d1b 100644 --- a/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.ts +++ b/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.ts @@ -52,7 +52,7 @@ export class EmptyCellEditorHintContribution extends EmptyTextEditorHintContribu } const activeEditor = getNotebookEditorFromEditorPane(this._editorService.activeEditorPane); - if (!activeEditor || activeEditor.isDisposed) { + if (!activeEditor || !activeEditor.isDisposed) { return false; }