aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAndreas Rönnquist <unknown>2018-05-28 14:23:41 +1000
committerAndreas Rönnquist <unknown>2018-05-28 14:23:41 +1000
commit3af984c23fb51b23894ec741015a3b2eb98a8285 (patch)
tree05a3a34d9d496540e671996c63520d93ab23bbb2 /include
parenteb77cfe43c9376527ed84d904c94a8bc4b683dba (diff)
downloadscintilla-mirror-3af984c23fb51b23894ec741015a3b2eb98a8285.tar.gz
Add styles for diffs containing patches.
Diffstat (limited to 'include')
-rw-r--r--include/SciLexer.h4
-rw-r--r--include/Scintilla.iface4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/SciLexer.h b/include/SciLexer.h
index aa5e7876c..f4ef9954b 100644
--- a/include/SciLexer.h
+++ b/include/SciLexer.h
@@ -558,6 +558,10 @@
#define SCE_DIFF_DELETED 5
#define SCE_DIFF_ADDED 6
#define SCE_DIFF_CHANGED 7
+#define SCE_DIFF_PATCH_ADD 8
+#define SCE_DIFF_PATCH_DELETE 9
+#define SCE_DIFF_REMOVED_PATCH_ADD 10
+#define SCE_DIFF_REMOVED_PATCH_DELETE 11
#define SCE_CONF_DEFAULT 0
#define SCE_CONF_COMMENT 1
#define SCE_CONF_NUMBER 2
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index f211f852a..ee23c4db2 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -3415,6 +3415,10 @@ val SCE_DIFF_POSITION=4
val SCE_DIFF_DELETED=5
val SCE_DIFF_ADDED=6
val SCE_DIFF_CHANGED=7
+val SCE_DIFF_PATCH_ADD=8
+val SCE_DIFF_PATCH_DELETE=9
+val SCE_DIFF_REMOVED_PATCH_ADD=10
+val SCE_DIFF_REMOVED_PATCH_DELETE=11
# Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)
lex Conf=SCLEX_CONF SCE_CONF_
val SCE_CONF_DEFAULT=0