src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.ts/NotebookCellSelectionCollection/setState
class NotebookCellSelectionCollection:	setState(primary: ICellRange | null, selections: ICellRange[], forceEventEmit: boolean, source: 'view' | 'model') {
		const changed = primary !== this._primary || !rangesEqual(this._selections, selections);

		this._primary = primary;
		this._selections = selections;
		if (changed || forceEventEmit) {
			this._onDidChangeSelection.fire(source);
		}
	}