src/vs/workbench/contrib/notebook/browser/view/renderers/cellWidgets.ts/CellEditorStatusBar/update
class CellEditorStatusBar:	update(context: INotebookCellActionContext) {
		this.currentContext = context;
		this.itemsDisposable.clear();

		if (!this.currentContext) {
			return;
		}

		this.itemsDisposable.add(this.currentContext.cell.onDidChangeLayout(() => this.layout()));
		this.itemsDisposable.add(this.currentContext.cell.onDidChangeCellStatusBarItems(() => this.updateRenderedItems()));
		this.itemsDisposable.add(this.currentContext.notebookEditor.onDidChangeActiveCell(() => this.updateActiveCell()));
		this.layout();
		this.updateActiveCell();
		this.updateRenderedItems();
	}