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] Init with header and add NEW button #37626

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
default value
  • Loading branch information
htcfreek committed Feb 25, 2025
commit 45c03f43e6413a44cc9f4177212cefd17731889d
Original file line number Diff line number Diff line change
@@ -77,6 +77,9 @@ private async Task<bool> OpenRegistryFile(string filename)
}
catch
{
// Set default value for empty opening
await MonacoEditor.SetTextAsync("Windows Registry Editor Version 5.00\r\n\r\n");

// restore TextChanged handler to make for clean UI
MonacoEditor.TextChanged += MonacoEditor_TextChanged;