()
| 219 | // To enable custom entries, the compiler path control is a text box on top of a select control. |
| 220 | // This function ensures that the select control is updated when the text box is changed. |
| 221 | private fixKnownCompilerSelection(): void { |
| 222 | const compilerPath = (<HTMLInputElement>document.getElementById(elementId.compilerPath)).value.toLowerCase(); |
| 223 | const knownCompilers = <HTMLSelectElement>document.getElementById(elementId.knownCompilers); |
| 224 | for (let n = 0; n < knownCompilers.options.length; n++) { |
| 225 | if (compilerPath === knownCompilers.options[n].value.toLowerCase()) { |
| 226 | knownCompilers.value = knownCompilers.options[n].value; |
| 227 | return; |
| 228 | } |
| 229 | } |
| 230 | knownCompilers.value = ''; |
| 231 | } |
| 232 | |
| 233 | private onChangedCheckbox(id: string): void { |
| 234 | if (this.updating) { |
no outgoing calls
no test coverage detected