aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/diff.tes
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-23 20:30:46 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-24 02:47:49 +0100
commitfec93b9b0cc83dc1102c78c8bf1eacaf8763d9b8 (patch)
tree2138c060b90a104c367dc9a36223b694c1b33f06 /lib/lexers/diff.tes
parente4789a60d2a409f74efba9e9a3faf5250a50e0ae (diff)
downloadsciteco-fec93b9b0cc83dc1102c78c8bf1eacaf8763d9b8.tar.gz
reformatted existing lexer definitions
* they are updated with the results of scite2co.lua This makes it easier in the future to update lexer settings based on the property files of new SciTE releases.
Diffstat (limited to 'lib/lexers/diff.tes')
-rw-r--r--lib/lexers/diff.tes16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/lexers/diff.tes b/lib/lexers/diff.tes
new file mode 100644
index 0000000..fb1af2b
--- /dev/null
+++ b/lib/lexers/diff.tes
@@ -0,0 +1,16 @@
+! Patch/Diff Files !
+
+@[lexer.test.diff]{ [_
+ _.[diff,patch]M[lexer.checkname]
+]_ }
+
+@[lexer.set.diff]{
+ ESSETLEXER,SCLEX_DIFF
+ :M[color.comment],1M[color.set]
+ :M[color.keyword],2M[color.set] ! Command !
+ :M[color.preproc],3M[color.set] ! Source/Dest !
+ :M[color.operator],4M[color.set] ! Position @@ !
+ :M[color.deletion],5M[color.set]
+ :M[color.addition],6M[color.set]
+ :M[color.change],7M[color.set]
+}