src/vs/workbench/api/browser/mainThreadNotebookDocumentsAndEditors.ts/MainThreadNotebooksAndEditors/_asEditorAddData
class MainThreadNotebooksAndEditors:	private _asEditorAddData(add: IActiveNotebookEditor): INotebookEditorAddData {

		const pane = this._editorService.visibleEditorPanes.find(pane => getNotebookEditorFromEditorPane(pane) === add);

		return {
			id: add.getId(),
			documentUri: add.textModel.uri,
			selections: add.getSelections(),
			visibleRanges: add.visibleRanges,
			viewColumn: pane && editorGroupToViewColumn(this._editorGroupService, pane.group)
		};
	}