aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexPython.cxx
diff options
context:
space:
mode:
authorJohn Ehresman <jpe@wingware.com>2016-12-22 16:11:09 -0500
committerJohn Ehresman <jpe@wingware.com>2016-12-22 16:11:09 -0500
commit1729c1824c5d45cd846f917158de42ce4d1f01aa (patch)
tree1e63f528bd712470216c822cd76c5dbc9ff7551f /lexers/LexPython.cxx
parent46d360afd32fe73f5f5bb2eea1a352f32393c0c0 (diff)
downloadscintilla-mirror-1729c1824c5d45cd846f917158de42ce4d1f01aa.tar.gz
Don't style @1 as a decorator
Diffstat (limited to 'lexers/LexPython.cxx')
-rw-r--r--lexers/LexPython.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexPython.cxx b/lexers/LexPython.cxx
index a5a470347..6a2edde11 100644
--- a/lexers/LexPython.cxx
+++ b/lexers/LexPython.cxx
@@ -521,7 +521,7 @@ void SCI_METHOD LexerPython::Lex(Sci_PositionU startPos, Sci_Position length, in
sc.SetState(SCE_P_DEFAULT);
}
} else if (sc.state == SCE_P_DECORATOR) {
- if (!IsAWordChar(sc.ch, options.unicodeIdentifiers)) {
+ if (!IsAWordStart(sc.ch, options.unicodeIdentifiers)) {
sc.SetState(SCE_P_DEFAULT);
}
} else if ((sc.state == SCE_P_STRING) || (sc.state == SCE_P_CHARACTER)) {