diff options
author | nyamatongwe <devnull@localhost> | 2001-08-29 04:43:13 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-08-29 04:43:13 +0000 |
commit | 261d002974079c68c883bcb4a67414a5c1bd14ad (patch) | |
tree | c0e04afb5f67dcf15752bf4f4016aadb50a5b6b8 /src/LexPython.cxx | |
parent | 3a2836b184c6871097242a26dd0cfd27010c7a52 (diff) | |
download | scintilla-mirror-261d002974079c68c883bcb4a67414a5c1bd14ad.tar.gz |
Changed ` to be an operator.
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r-- | src/LexPython.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexPython.cxx b/src/LexPython.cxx index 6669694d1..a4c7629f3 100644 --- a/src/LexPython.cxx +++ b/src/LexPython.cxx @@ -241,7 +241,7 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle, chPrev = ' '; chNext = styler.SafeGetCharAt(i + 1); } - } else if (isoperator(ch)) { + } else if (isoperator(ch) || ch == '`') { styler.ColourTo(i - 1, state); styler.ColourTo(i, SCE_P_OPERATOR); } @@ -260,7 +260,7 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle, chPrev = ' '; chNext = styler.SafeGetCharAt(i + 1); } - } else if (isoperator(ch)) { + } else if (isoperator(ch) || ch == '`') { styler.ColourTo(i, SCE_P_OPERATOR); } } |