()
| 382 | } |
| 383 | |
| 384 | function updateQuickToolsState() { |
| 385 | const { $footer } = quickTools; |
| 386 | |
| 387 | if (editorManager.activeFile?.isUnsaved) { |
| 388 | $footer.setAttribute("data-unsaved", "true"); |
| 389 | } else { |
| 390 | $footer.removeAttribute("data-unsaved"); |
| 391 | } |
| 392 | |
| 393 | updateHistoryButtons(); |
| 394 | } |
| 395 | |
| 396 | function updateHistoryButtons() { |
| 397 | const { editor, activeFile } = editorManager; |
nothing calls this directly
no test coverage detected