src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.ts/FindModel/constructor
class FindModel:	constructor(
		private readonly _notebookEditor: INotebookEditor,
		private readonly _state: FindReplaceState,
		@IConfigurationService private readonly _configurationService: IConfigurationService
	) {
		super();

		this._register(_state.onFindReplaceStateChange(e => {
			if (e.searchString || (e.isRevealed && this._state.isRevealed)) {
				this.research();
			}

			if (e.isRevealed && !this._state.isRevealed) {
				this.clear();
			}
		}));

		this._register(this._notebookEditor.onDidChangeModel(e => {
			this._registerModelListener(e);
		}));

		if (this._notebookEditor.hasModel()) {
			this._registerModelListener(this._notebookEditor.textModel);
		}
	}