git@sv
/
enscript.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Makefile.am (EXTRA_DIST): Remove ABOUT-NLS, THANKS and config.rpath.
[enscript.git]
/
states
/
hl
/
diffu.st
1
/**
2
* Name: diffu
3
* Description: unified diffs
4
* Author: buchal@ifh.bau-verm.uni-karlsruhe.de
5
*/
6
7
state diffu extends HighlightEntry
8
{
9
/^\@\@/ {
10
comment_face (true);
11
language_print ($0);
12
call (eat_one_line);
13
comment_face (false);
14
}
15
16
/^-/ {
17
function_name_face (true);
18
language_print ($0);
19
call (eat_one_line);
20
function_name_face (false);
21
}
22
23
/^+/ {
24
reference_face (true);
25
language_print ($0);
26
call (eat_one_line);
27
reference_face (false);
28
}
29
/^[^\ ]/ {
30
string_face (true);
31
language_print ($0);
32
call (eat_one_line);
33
string_face (false);
34
}
35
}
36
37
\f
38
/*
39
Local variables:
40
mode: c
41
End:
42
*/