when ktxt2 editor is hidden, export

This commit is contained in:
2021-11-02 18:19:33 -04:00
parent 182efad7b3
commit 1869591c93

View File

@@ -69,6 +69,11 @@
(otherwise
(errorMessage "bad message $e from KTxt2Editor"))))
(webviewPanel.onDidChangeViewState
->e {
(unless e.webviewPanel.visible (exportSourceAndOutputFiles document))
})
(updateWebview))
null)