src/vs/workbench/contrib/notebook/browser/contrib/coreActions.ts/NotebookMultiCellAction/getEditorFromArgsOrActivePane
class NotebookMultiCellAction:	protected getEditorFromArgsOrActivePane(accessor: ServicesAccessor, context?: UriComponents): IActiveNotebookEditor | undefined {
		const editorFromUri = getContextFromUri(accessor, context)?.notebookEditor;

		if (editorFromUri) {
			return editorFromUri;
		}

		const editor = getNotebookEditorFromEditorPane(accessor.get(IEditorService).activeEditorPane);
		if (!editor || !editor.hasModel()) {
			return;
		}

		return editor;
	}