fix(app): store the editor's last edit before the main window closes

The project is saved a moment after each change; closing the window during
that moment now waits for the save (once per window, also when another
section is showing). EditorSession.HasPendingSave reports it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 17:39:26 +00:00
1 parent b2b36d5c57
commit 596b748c5c
5 files changed
+47 -1

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
xmlns:ui="clr-namespace:Titano.Ui.Controls;assembly=Titano.Ui"
xmlns:v="clr-namespace:Titano.Ui.Visuals;assembly=Titano.Ui"
xmlns:l="clr-namespace:Titano.Ui.Localization;assembly=Titano.Ui"
KeyDown="OnKeyDown">
KeyDown="OnKeyDown" Loaded="OnLoaded">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>