read text aloud

This commit is contained in:
2026-10-23 09:40:20 +02:00
parent 281f5465a6
commit 92b90c0e13
20 changed files with 471 additions and 18 deletions
@@ -115,7 +115,7 @@ extension WorkspaceModel {
}
/// Stops the watchers and polling, waits for the work still running against this project,
/// then saves the note and the session and ends the terminals.
/// then stops reading aloud, saves the note and the session and ends the terminals.
func closeProject() async {
watcher?.stop()
watcher = nil
@@ -132,6 +132,7 @@ extension WorkspaceModel {
await refresh?.value
await symbols?.value
for task in running { await task.value }
readAloud.stop()
await editor?.flushAutoSaves()
await note?.save()
await editor?.persist()