diff --git a/FModel/Extensions/AvalonExtensions.cs b/FModel/Extensions/AvalonExtensions.cs index 9c058b51..86627fcb 100644 --- a/FModel/Extensions/AvalonExtensions.cs +++ b/FModel/Extensions/AvalonExtensions.cs @@ -13,7 +13,7 @@ public static class AvalonExtensions private static readonly IHighlightingDefinition _xmlHighlighter = LoadHighlighter("Xml.xshd"); private static readonly IHighlightingDefinition _cppHighlighter = LoadHighlighter("Cpp.xshd"); private static readonly IHighlightingDefinition _changelogHighlighter = LoadHighlighter("Changelog.xshd"); - private static readonly IHighlightingDefinition _ulangHighlighter = LoadHighlighter("ULang.xshd"); + private static readonly IHighlightingDefinition _verseHighlighter = LoadHighlighter("Verse.xshd"); [MethodImpl(MethodImplOptions.AggressiveInlining)] private static IHighlightingDefinition LoadHighlighter(string resourceName) @@ -40,8 +40,8 @@ public static IHighlightingDefinition HighlighterSelector(string ext) return _cppHighlighter; case "changelog": return _changelogHighlighter; - case "ulang": - return _ulangHighlighter; + case "verse": + return _verseHighlighter; case "bat": case "txt": case "pem": diff --git a/FModel/FModel.csproj b/FModel/FModel.csproj index cb392a09..7f804af2 100644 --- a/FModel/FModel.csproj +++ b/FModel/FModel.csproj @@ -69,7 +69,7 @@ - + @@ -112,7 +112,7 @@ - + diff --git a/FModel/Resources/ULang.xshd b/FModel/Resources/Verse.xshd similarity index 93% rename from FModel/Resources/ULang.xshd rename to FModel/Resources/Verse.xshd index aa82f023..5804829b 100644 --- a/FModel/Resources/ULang.xshd +++ b/FModel/Resources/Verse.xshd @@ -1,5 +1,5 @@ - + diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs index 7f5170e5..7b4aaf97 100644 --- a/FModel/ViewModels/CUE4ParseViewModel.cs +++ b/FModel/ViewModels/CUE4ParseViewModel.cs @@ -771,8 +771,8 @@ public void ExtractAndScroll(CancellationToken cancellationToken, string fullPat { if (!TabControl.CanAddTabs) return false; - TabControl.AddTab($"{solarisDigest.ProjectName}.ulang"); - TabControl.SelectedTab.Highlighter = AvalonExtensions.HighlighterSelector("ulang"); + TabControl.AddTab($"{solarisDigest.ProjectName}.verse"); + TabControl.SelectedTab.Highlighter = AvalonExtensions.HighlighterSelector("verse"); TabControl.SelectedTab.SetDocumentText(solarisDigest.ReadableCode, false); return true; }