diff options
-rw-r--r-- | include/SciLexer.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 1 | ||||
-rw-r--r-- | src/LexOthers.cxx | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/include/SciLexer.h b/include/SciLexer.h index d72f55642..b1ab9ce34 100644 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -328,6 +328,7 @@ #define SCE_PROPS_SECTION 2 #define SCE_PROPS_ASSIGNMENT 3 #define SCE_PROPS_DEFVAL 4 +#define SCE_PROPS_KEY 5 #define SCE_L_DEFAULT 0 #define SCE_L_COMMAND 1 #define SCE_L_TAG 2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index ecb366530..d296ce85d 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2099,6 +2099,7 @@ val SCE_PROPS_COMMENT=1 val SCE_PROPS_SECTION=2 val SCE_PROPS_ASSIGNMENT=3 val SCE_PROPS_DEFVAL=4 +val SCE_PROPS_KEY=5 # Lexical states for SCLEX_LATEX lex LaTeX=SCLEX_LATEX SCE_L_ val SCE_L_DEFAULT=0 diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index 626a2c18c..5f6e7e404 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -602,7 +602,7 @@ static void ColourisePropsLine( while ((i < lengthLine) && (lineBuffer[i] != '=')) i++; if ((i < lengthLine) && (lineBuffer[i] == '=')) { - styler.ColourTo(startLine + i - 1, SCE_PROPS_DEFAULT); + styler.ColourTo(startLine + i - 1, SCE_PROPS_KEY); styler.ColourTo(startLine + i, SCE_PROPS_ASSIGNMENT); styler.ColourTo(endPos, SCE_PROPS_DEFAULT); } else { |