src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.ts/NotebookCellOutline/captureViewState
class NotebookCellOutline:	captureViewState(): IDisposable {
		const widget = this._editor.getControl();
		const viewState = widget?.getEditorViewState();
		return toDisposable(() => {
			if (viewState) {
				widget?.restoreListViewState(viewState);
			}
		});
	}