src/vs/workbench/contrib/search/common/searchModel.ts/SearchResult/replaceAll
class SearchResult:	replaceAll(progress: IProgress<IProgressStep>): Promise<any> {
		this.replacingAll = true;

		const start = Date.now();
		const promise = this.replaceService.replace(this.matches(), progress);

		promise.finally(() => {
			/* __GDPR__
				"replaceAll.started" : {
					"duration" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true }
				}
			*/
			this.telemetryService.publicLog('replaceAll.started', { duration: Date.now() - start });
		});

		return promise.then(() => {
			this.replacingAll = false;
			this.clear();
		}, () => {
			this.replacingAll = false;
		});
	}