blob: d369a27274f2ef6ab56bd30855962088d33bfecc (
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
36
37
38
39
40
41
42
43
44
45
|
<?xml version="1.0"?>
<!-- $Id: diff.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp $ -->
<highlight lang="diff" case="yes">
<authors>
<author name="Andrey Demenev" email="demenev@gmail.com"/>
</authors>
<default innerClass="default" />
<block name="noNewLine" match="/^\\\sNo\snewline.+$/m" innerClass="special"/>
<block name="diffSeparator" match="/^\-\-\-$/m" innerClass="code"/>
<block name="diffCmdLine" match="/^(diff\s+\-|Only\s+|Index).*$/m" innerClass="var"/>
<block name="diffFiles" match="/^(\-\-\-|\+\+\+)\s.+$/m" innerClass="reserved"/>
<block name="contextOrg" match="/^\*.*$/m" innerClass="quotes"/>
<block name="contextNew" match="/^\+.*$/m" innerClass="string"/>
<block name="contextChg" match="/^!.*$/m" innerClass="inlinedoc"/>
<block name="defOrg" match="/^\<\s.*$/m" innerClass="quotes"/>
<block name="defNew" match="/^\>\s.*$/m" innerClass="string"/>
<block name="defChg" match="/^\d+(\,\d+)?[acd]\d+(,\d+)?$/m" innerClass="code"/>
<block name="uniOrg" match="/^\-.*$/m" innerClass="quotes"/>
<block name="uniNew" match="/^\+.*$/m" innerClass="string"/>
<block name="uniChg" match="/^@@.+@@$/m" innerClass="code"/>
<block name="normOrg" match="/^d\d+\s\d+$/m" innerClass="code"/>
<region name="normNew" start="/^a\d+\s\d+$/m" end="/(?=^[ad]\d+\s\d+)/m" innerClass="var" delimClass="code"/>
<region name="edNew" start="/^(\d+)(,\d+)?(a)$/m" end="/^(\.)$/m" innerClass="string" delimClass="code"/>
<region name="edChg" start="/^(\d+)(,\d+)?(c)$/m" end="/^(\.)$/m" innerClass="inlinedoc" delimClass="code"/>
<block name="edDel" match="/^(\d+)(,\d+)?(d)$/m" innerClass="code"/>
<region name="fedNew" start="/^a(\d+)(\s\d+)?$/m" end="/^(\.)$/m" innerClass="string" delimClass="code"/>
<region name="fedChg" start="/^c(\d+)(\s\d+)?$/m" end="/^(\.)$/m" innerClass="inlinedoc" delimClass="code"/>
<block name="fedDel" match="/^d(\d+)(\s\d+)?$/m"
innerClass="code"/>
</highlight>
|