aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2008-07-19 11:54:16 +0000
committernyamatongwe <unknown>2008-07-19 11:54:16 +0000
commit36b81c97c4d5ca5886118a0aebea9e8db2737631 (patch)
tree8668147de4ef545404a9982774015295e9878b66 /include
parent13a93560a212f99168eb25ea1e942a3fc651c19f (diff)
downloadscintilla-mirror-36b81c97c4d5ca5886118a0aebea9e8db2737631.tar.gz
Feature request #2017815 Update to the Diff lexer from
Friedrich Vedder. - Improve support for context style diffs (add new style SCE_DIFF_CHANGED for changed lines). - Improve support for diff's generated by Subversion. - Fix styling and folding for lines containing chunk dividers ("---").
Diffstat (limited to 'include')
-rw-r--r--include/SciLexer.h1
-rw-r--r--include/Scintilla.iface1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/SciLexer.h b/include/SciLexer.h
index c5b2b6c88..17f160e1d 100644
--- a/include/SciLexer.h
+++ b/include/SciLexer.h
@@ -452,6 +452,7 @@
#define SCE_DIFF_POSITION 4
#define SCE_DIFF_DELETED 5
#define SCE_DIFF_ADDED 6
+#define SCE_DIFF_CHANGED 7
#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 32a257345..949452efb 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2404,6 +2404,7 @@ val SCE_DIFF_HEADER=3
val SCE_DIFF_POSITION=4
val SCE_DIFF_DELETED=5
val SCE_DIFF_ADDED=6
+val SCE_DIFF_CHANGED=7
# Lexical states for SCLEX_CONF (Apache Configuration Files Lexer)
lex Conf=SCLEX_CONF SCE_CONF_
val SCE_CONF_DEFAULT=0