src/vs/workbench/contrib/notebook/browser/view/notebookCellList.ts/NotebookCellList/_revealIfOutsideViewportAsync
class NotebookCellList:	private async _revealIfOutsideViewportAsync(viewIndex: number, revealPosition: CellRevealPosition): Promise<void> {
		this._revealInternal(viewIndex, true, revealPosition);
		const element = this.view.element(viewIndex);

		// wait for the editor to be created only if the cell is in editing mode (meaning it has an editor and will focus the editor)
		if (element.getEditState() === CellEditState.Editing && !element.editorAttached) {
			return getEditorAttachedPromise(element);
		}

		return;
	}