()
| 168 | } |
| 169 | |
| 170 | public toggleRegex() { |
| 171 | const { isRegex } = this.state; |
| 172 | const { SEARCH_REGULAR_EXPRESSION_COMMAND_ID } = |
| 173 | this.builtinService.getConstants(); |
| 174 | if (SEARCH_REGULAR_EXPRESSION_COMMAND_ID) { |
| 175 | this.setState({ |
| 176 | isRegex: !isRegex, |
| 177 | }); |
| 178 | this.updateStatus(SEARCH_REGULAR_EXPRESSION_COMMAND_ID, !isRegex); |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | public togglePreserveCase() { |
| 183 | const { preserveCase } = this.state; |
no test coverage detected