(backwards)
| 77 | }; |
| 78 | |
| 79 | function findSelectedHelper(backwards) { |
| 80 | const selection = window.getSelection().toString(); |
| 81 | if (!selection) return; |
| 82 | FindMode.updateQuery(selection); |
| 83 | FindMode.saveQuery(); |
| 84 | FindMode.findNext(backwards); |
| 85 | } |
| 86 | |
| 87 | const NormalModeCommands = { |
| 88 | // Scrolling. |
no test coverage detected