mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-21 00:44:52 +00:00
Support light mode Lyric
This commit is contained in:
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
|
||||||
|
<SyntaxDefinition name="Lyric" extensions=".lrc" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
|
||||||
|
<Color name="Number" foreground="#006400" exampleText="3.14" />
|
||||||
|
<Color name="Punctuation1" foreground="#800080" />
|
||||||
|
<Color name="Punctuation2" foreground="#C04000" />
|
||||||
|
<Color name="Punctuation3" foreground="#000000" />
|
||||||
|
|
||||||
|
<RuleSet name="Object">
|
||||||
|
<Span color="Punctuation3" ruleSet="Expression">
|
||||||
|
<Begin>:</Begin>
|
||||||
|
</Span>
|
||||||
|
</RuleSet>
|
||||||
|
|
||||||
|
<RuleSet name="Array">
|
||||||
|
<Import ruleSet="Expression"/>
|
||||||
|
<Span color="Punctuation3">
|
||||||
|
<Begin>,</Begin>
|
||||||
|
</Span>
|
||||||
|
</RuleSet>
|
||||||
|
|
||||||
|
<RuleSet name="Expression">
|
||||||
|
<Span color="Punctuation1" ruleSet="Object" multiline="true">
|
||||||
|
<Begin>\{</Begin>
|
||||||
|
<End>\}</End>
|
||||||
|
</Span>
|
||||||
|
<Span color="Punctuation2" ruleSet="Array" multiline="true">
|
||||||
|
<Begin>\[</Begin>
|
||||||
|
<End>\]</End>
|
||||||
|
</Span>
|
||||||
|
<Rule color="Number">
|
||||||
|
\b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?
|
||||||
|
</Rule>
|
||||||
|
</RuleSet>
|
||||||
|
|
||||||
|
<RuleSet>
|
||||||
|
<Import ruleSet="Expression"/>
|
||||||
|
</RuleSet>
|
||||||
|
</SyntaxDefinition>
|
@@ -44,7 +44,7 @@ internal class TrayIconManager : IDisposable
|
|||||||
})
|
})
|
||||||
{ Enabled = !App.IsUWP };
|
{ 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()
|
private TrayIconManager()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user