From ff623c3d1ccd001104d736ac784f0d058b5a1c3e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 19 Jul 2008 11:54:16 +0000 Subject: 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 ("---"). --- include/SciLexer.h | 1 + include/Scintilla.iface | 1 + 2 files changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3