Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.ExtLibs/HeuristicLab.AvalonEdit/5.0.1/AvalonEdit-5.0.1/Highlighting/Resources/Patch-Mode.xshd @ 13400

Last change on this file since 13400 was 11700, checked in by jkarder, 10 years ago

#2077: created branch and added first version

File size: 1.1 KB
Line 
1<?xml version="1.0"?>
2<SyntaxDefinition name="Patch" extensions=".patch;.diff" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
3  <Color name="AddedText" foreground="Navy" exampleText="+added" />
4  <Color name="RemovedText" foreground="#FF339966" exampleText="-removed" />
5  <Color name="UnchangedText" exampleText=" unchanged" />
6  <Color name="Position" foreground="Navy" exampleText="@@ -186,6 +186,12 @@" />
7  <Color name="Header" foreground="DarkRed" exampleText="--- (oldversion)&#10;+++ (newversion)" />
8  <Color name="FileName" foreground="Green" fontWeight="bold" exampleText="Index: path/to/file" />
9  <RuleSet>
10    <Span color="FileName">
11      <Begin>Index:\s</Begin>
12    </Span>
13    <Span color="Header">
14      <Begin>==</Begin>
15    </Span>
16    <Span color="Header">
17      <Begin>---</Begin>
18    </Span>
19    <Span color="Header">
20      <Begin>\+\+\+</Begin>
21    </Span>
22    <Span foreground="Purple">
23      <Begin>@@</Begin>
24    </Span>
25    <Span color="RemovedText">
26      <Begin>-</Begin>
27    </Span>
28    <Span color="AddedText">
29      <Begin>\+</Begin>
30    </Span>
31    <Span color="UnchangedText">
32      <Begin>\s</Begin>
33    </Span>
34  </RuleSet>
35</SyntaxDefinition>
Note: See TracBrowser for help on using the repository browser.