From a9e99a64ab628e1044cc55d65a712a90af70d7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20R=C3=B6nnquist?= Date: Mon, 28 May 2018 14:23:41 +1000 Subject: Backport: Add styles for diffs containing patches. Backport of changeset 7004:a1f932ccdee6. --- include/SciLexer.h | 4 ++++ include/Scintilla.iface | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/SciLexer.h b/include/SciLexer.h index 8772d8cb1..cde410f93 100644 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -559,6 +559,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 7e52a5777..d4d8ac78b 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -3423,6 +3423,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 -- cgit v1.2.3