()
| 213 | } |
| 214 | |
| 215 | private getQuery(): SearchQuery { |
| 216 | return new SearchQuery({ |
| 217 | search: this.searchInput.value, |
| 218 | caseSensitive: this.caseSensitiveBtn.hasClass("active"), |
| 219 | regexp: this.regexpBtn.hasClass("active"), |
| 220 | wholeWord: this.wholeWordBtn.hasClass("active"), |
| 221 | replace: this.replaceInput.value |
| 222 | }); |
| 223 | } |
| 224 | |
| 225 | private doSearch() { |
| 226 | const query = this.getQuery(); |
no outgoing calls
no test coverage detected