diff options
author | nyamatongwe <devnull@localhost> | 2002-08-29 09:58:05 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-08-29 09:58:05 +0000 |
commit | db77b82cffd1529323a7dcb7cb4241a183451566 (patch) | |
tree | 64d1d1032dc944ce8baea72cbd73fd4f8115a16b /src/LexPython.cxx | |
parent | a583993244a3ef05a21adf069838bd1b3ae16168 (diff) | |
download | scintilla-mirror-db77b82cffd1529323a7dcb7cb4241a183451566.tar.gz |
Old constant from C lexer changed to Python version.
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r-- | src/LexPython.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPython.cxx b/src/LexPython.cxx index 01365c190..bfaa08f0e 100644 --- a/src/LexPython.cxx +++ b/src/LexPython.cxx @@ -163,7 +163,7 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle, // Check for a state end if (sc.state == SCE_P_OPERATOR) { kwLast = kwOther; - sc.SetState(SCE_C_DEFAULT); + sc.SetState(SCE_P_DEFAULT); } else if (sc.state == SCE_P_NUMBER) { if (!IsAWordChar(sc.ch) && !(!hexadecimal && ((sc.ch == '+' || sc.ch == '-') && (sc.chPrev == 'e' || sc.chPrev == 'E')))) { |