Skip to content
Prev Previous commit
Next Next commit
Update matchCase and wholeWord options when updating text from find w…
…idget in SearchView
  • Loading branch information
turara committed Oct 18, 2020
commit 8d535e661b6f5fbec00678608216ca64b219510a
2 changes: 2 additions & 0 deletions src/vs/workbench/contrib/search/browser/searchView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,8 @@ export class SearchView extends ViewPane {
return false;
}

this.searchWidget.searchInput.setCaseSensitive(controller.getState().matchCase);
this.searchWidget.searchInput.setWholeWords(controller.getState().wholeWord);
this.searchWidget.searchInput.setRegex(controller.getState().isRegex);
this.updateText(searchString, allowSearchOnType);

Expand Down