(e: JQuery.KeyDownEvent)
| 89 | } |
| 90 | |
| 91 | private onKeydownCallback(e: JQuery.KeyDownEvent) { |
| 92 | if (this.isOutputCurrentSelection && e.ctrlKey && e.key === 'a') { |
| 93 | e.preventDefault(); |
| 94 | this.selectAll(); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | private selectAll() { |
| 99 | const range = document.createRange(); |
no test coverage detected