aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.Editors/Highlighting/Resources/Patch-Mode.xshd
blob: c8e1c3cfdb581c1fc82f378e3c47578a8178fcad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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)&#10;+++ (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>