Improve QuickLook initialization speed

This commit is contained in:
ema
2025-07-05 02:46:00 +08:00
parent 913474f7ad
commit 267b37c526
2 changed files with 5 additions and 7 deletions

View File

@@ -40,6 +40,11 @@ public partial class TextViewerPanel : TextEditor, IDisposable
{
private bool _disposed;
static TextViewerPanel()
{
HighlightingThemeManager.Initialize();
}
public TextViewerPanel()
{
FontSize = 14;