diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/Lyric.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/Lyric.xshd new file mode 100644 index 0000000..3bf3691 --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/Lyric.xshd @@ -0,0 +1,39 @@ + + + + + + + + + + + : + + + + + + + , + + + + + + \{ + \} + + + \[ + \] + + + \b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)? + + + + + + + diff --git a/QuickLook/TrayIconManager.cs b/QuickLook/TrayIconManager.cs index 59314b1..ff5576c 100644 --- a/QuickLook/TrayIconManager.cs +++ b/QuickLook/TrayIconManager.cs @@ -44,7 +44,7 @@ internal class TrayIconManager : IDisposable }) { Enabled = !App.IsUWP }; - private string _attr = App.IsUWP ? $" (UWP{(App.IsSandBox ? string.Empty : "-SandBox")})" : string.Empty; + private readonly string _attr = App.IsUWP ? $" (UWP{(App.IsSandBox ? string.Empty : "-SandBox")})" : string.Empty; private TrayIconManager() {