(command)
| 1 | import appSettings from "lib/settings"; |
| 2 | |
| 3 | const exec = (command) => { |
| 4 | const { editor } = editorManager; |
| 5 | editor.execCommand(command); |
| 6 | |
| 7 | if (command === "selectall") { |
| 8 | editor.scrollToRow(Number.POSITIVE_INFINITY); |
| 9 | editor.setSelection(true); |
| 10 | editor.setMenu(true); |
| 11 | } |
| 12 | editor.focus(); |
| 13 | }; |
| 14 | |
| 15 | const showCodeActions = async () => { |
| 16 | const { editor } = editorManager; |
no test coverage detected