From 261d002974079c68c883bcb4a67414a5c1bd14ad Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 29 Aug 2001 04:43:13 +0000 Subject: Changed ` to be an operator. --- src/LexPython.cxx | 4 ++-- 1 file 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); } } -- cgit v1.2.3