mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
<?xml version="1.0"?> |
|
<SyntaxDefinition name="Patch" extensions=".patch;.diff" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008"> |
|
<Color name="AddedText" foreground="Navy" exampleText="+added" /> |
|
<Color name="RemovedText" foreground="#FF339966" exampleText="-removed" /> |
|
<Color name="UnchangedText" exampleText=" unchanged" /> |
|
<Color name="Position" foreground="Navy" exampleText="@@ -186,6 +186,12 @@" /> |
|
<Color name="Header" foreground="DarkRed" exampleText="--- (oldversion) +++ (newversion)" /> |
|
<Color name="FileName" foreground="Green" fontWeight="bold" exampleText="Index: path/to/file" /> |
|
<RuleSet> |
|
<Span color="FileName"> |
|
<Begin>Index:\s</Begin> |
|
</Span> |
|
<Span color="Header"> |
|
<Begin>==</Begin> |
|
</Span> |
|
<Span color="Header"> |
|
<Begin>---</Begin> |
|
</Span> |
|
<Span color="Header"> |
|
<Begin>\+\+\+</Begin> |
|
</Span> |
|
<Span foreground="Purple"> |
|
<Begin>@@</Begin> |
|
</Span> |
|
<Span color="RemovedText"> |
|
<Begin>-</Begin> |
|
</Span> |
|
<Span color="AddedText"> |
|
<Begin>\+</Begin> |
|
</Span> |
|
<Span color="UnchangedText"> |
|
<Begin>\s</Begin> |
|
</Span> |
|
</RuleSet> |
|
</SyntaxDefinition> |