src/vs/workbench/contrib/search/common/searchModel.ts/FolderMatch/replaceAll
class FolderMatch:	replaceAll(): Promise<any> {
		const matches = this.matches();
		return this.replaceService.replace(matches).then(() => this.doRemove(matches));
	}