Catch exception from xshd loader

1. New xshd for dark mode
2. Moved xshd sign to https://github.com/QL-Win/QuickLook/wiki/On-the-Shoulders-of-Giants
This commit is contained in:
ema
2025-01-02 04:55:08 +08:00
parent 31325e34c1
commit fd60013d23
87 changed files with 264 additions and 845 deletions

View File

@@ -0,0 +1,206 @@
<?xml version="1.0" encoding="utf-8"?>
<SyntaxDefinition name="Batch" extensions=".bat;.cmd">
<Environment>
<Default color="White" bgcolor="#000000"/>
<Selection color="#000080" bgcolor="#C3C3FF"/>
<LineNumbers color="#A9A9A9" bgcolor="#000000"/>
<CaretMarker color="#A9A9A9"/>
<VRuler color="#808080"/>
<FoldLine color="#D3D3D3" bgcolor="#000000"/>
<FoldMarker color="#D3D3D3" bgcolor="#000000"/>
<SelectedFoldLine color="#D3D3D3" bgcolor="#000000"/>
<EOLMarkers color="#A9A9A9"/>
<SpaceMarkers color="#A9A9A9"/>
<TabMarkers color="#A9A9A9"/>
<InvalidLines color="#A9A9A9"/>
</Environment>
<Properties>
<Property name="LineComment" value="REM "/>
</Properties>
<Digits name="Digits" color="White" bold="false" italic="false"/>
<RuleSets>
<RuleSet ignorecase="true">
<Delimiters>@+*\/=|'&lt;&gt;?;</Delimiters>
<Span name="LineComment1" stopateol="true" color="#00FF00" bold="false" italic="false">
<Begin singleword="true">REM </Begin>
</Span>
<Span name="LineComment2" stopateol="true" color="#00FF00" bold="false" italic="false">
<Begin startofline="true">::</Begin>
</Span>
<Span name="Label" stopateol="true" color="#FF0000" bgcolor="#FFFF80" bold="false" italic="false">
<Begin startofline="true">:</Begin>
</Span>
<Span name="Output" stopateol="true" color="White" bold="false" italic="false">
<Begin color="Blue">echo</Begin>
</Span>
<KeyWords name="Keywords1" color="Blue" bold="false" italic="false">
<Key word="aux"/>
<Key word="baud"/>
<Key word="break"/>
<Key word="call"/>
<Key word="cd"/>
<Key word="chcp"/>
<Key word="chdir"/>
<Key word="choice"/>
<Key word="cls"/>
<Key word="cmdextversion"/>
<Key word="cols"/>
<Key word="com"/>
<Key word="con"/>
<Key word="copy"/>
<Key word="cp"/>
<Key word="cut"/>
<Key word="data"/>
<Key word="defined"/>
<Key word="del"/>
<Key word="delay"/>
<Key word="dir"/>
<Key word="do"/>
<Key word="dtr"/>
<Key word="echo"/>
<Key word="else"/>
<Key word="end"/>
<Key word="equ"/>
<Key word="erase"/>
<Key word="errorlevel"/>
<Key word="exist"/>
<Key word="exists"/>
<Key word="exit"/>
<Key word="for"/>
<Key word="geq"/>
<Key word="goto"/>
<Key word="gtr"/>
<Key word="hs"/>
<Key word="idsr"/>
<Key word="if"/>
<Key word="in"/>
<Key word="leq"/>
<Key word="lfnfor"/>
<Key word="lines"/>
<Key word="loadfix"/>
<Key word="loadhigh"/>
<Key word="lock"/>
<Key word="low"/>
<Key word="lpt"/>
<Key word="lpt1"/>
<Key word="lss"/>
<Key word="max"/>
<Key word="md"/>
<Key word="min"/>
<Key word="mkdir"/>
<Key word="move"/>
<Key word="neq"/>
<Key word="normal"/>
<Key word="not"/>
<Key word="nul"/>
<Key word="octs"/>
<Key word="odsr"/>
<Key word="off"/>
<Key word="on"/>
<Key word="parity"/>
<Key word="path"/>
<Key word="pause"/>
<Key word="pause"/>
<Key word="prn"/>
<Key word="prompt"/>
<Key word="rate"/>
<Key word="rd"/>
<Key word="realtime"/>
<Key word="ren"/>
<Key word="rename"/>
<Key word="rmd"/>
<Key word="rmdir"/>
<Key word="rts"/>
<Key word="select"/>
<Key word="separate"/>
<Key word="set"/>
<Key word="sgn"/>
<Key word="shared"/>
<Key word="shift"/>
<Key word="status"/>
<Key word="stop"/>
<Key word="tg"/>
<Key word="then"/>
<Key word="time"/>
<Key word="to"/>
<Key word="truename"/>
<Key word="type"/>
<Key word="unlock"/>
<Key word="ver"/>
<Key word="verify"/>
<Key word="verify"/>
<Key word="vol"/>
<Key word="wait"/>
<Key word="xon"/>
</KeyWords>
<KeyWords name="Keywords2" color="#008080" bold="false" italic="false">
<Key word="append"/>
<Key word="assoc"/>
<Key word="at"/>
<Key word="attrib"/>
<Key word="begin"/>
<Key word="cacls"/>
<Key word="chkdsk"/>
<Key word="chkntfs"/>
<Key word="cmd"/>
<Key word="color"/>
<Key word="comp"/>
<Key word="compact"/>
<Key word="convert"/>
<Key word="ctty"/>
<Key word="date"/>
<Key word="delims"/>
<Key word="diskcomp"/>
<Key word="diskcopy"/>
<Key word="doskey"/>
<Key word="enableextensions"/>
<Key word="endlocal"/>
<Key word="eol"/>
<Key word="fc"/>
<Key word="find"/>
<Key word="findstr"/>
<Key word="format"/>
<Key word="ftype"/>
<Key word="graftabl"/>
<Key word="help"/>
<Key word="keyb"/>
<Key word="label"/>
<Key word="mklink"/>
<Key word="mode"/>
<Key word="more"/>
<Key word="other"/>
<Key word="ping"/>
<Key word="popd"/>
<Key word="print"/>
<Key word="pushd"/>
<Key word="recover"/>
<Key word="replace"/>
<Key word="restore"/>
<Key word="setlocal"/>
<Key word="skip"/>
<Key word="sort"/>
<Key word="start"/>
<Key word="subst"/>
<Key word="title"/>
<Key word="tokens"/>
<Key word="tree"/>
<Key word="ttrib"/>
<Key word="xcopy"/>
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>

View File

@@ -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="#B5CEA8" exampleText="3.14" />
<Color name="Punctuation1" foreground="#DA66BE" />
<Color name="Punctuation2" foreground="#FFD710" />
<Color name="Punctuation3" foreground="#FFFFFF" />
<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>