refine text search api, #41536

This commit is contained in:
Johannes Rieken
2018-01-12 08:14:18 -08:00
parent c75ebac63a
commit 0b9b336009
4 changed files with 16 additions and 8 deletions

View File

@@ -173,7 +173,7 @@ class RemoteFileSystemProvider implements IFileSystemProvider, ISearchResultProv
const promise = query.type === QueryType.File
? this._proxy.$findFiles(this._handle, search.id, query.filePattern)
: this._proxy.$findInFiles(this._handle, search.id, query.contentPattern);
: this._proxy.$provideTextSearchResults(this._handle, search.id, query.contentPattern, undefined, undefined);
promise.then(() => {
this._searches.delete(search.id);