Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RegPreview] Various improvements on how files are saved #37628

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Prev Previous commit
add comment
  • Loading branch information
htcfreek committed Feb 28, 2025
commit ddf774a81fdd658f0f2960eb8693ebe3e2ad9e3e
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ public sealed partial class RegistryPreviewMainPage : Page
private readonly DispatcherQueue _dispatcherQueue = DispatcherQueue.GetForCurrentThread();

// Indicator if we loaded/reloaded/saved a file and need to skip TextChanged event one time.
// (Solves the problem that enabling the event handler fires it one time.)
private static bool editorContentChangedScripted;

/// <summary>