aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-07-22 23:04:20 +0000
committernyamatongwe <devnull@localhost>2004-07-22 23:04:20 +0000
commita2a4bbef31c224b635bd20c8d2955daa0bc81964 (patch)
treeaddaf97152f5e36b3c1aa78f5b75e02eed485ab4 /src
parent1e897e643d5acc133f9c90beeec20428d2037e41 (diff)
downloadscintilla-mirror-a2a4bbef31c224b635bd20c8d2955daa0bc81964.tar.gz
Fix from Kein-Hong Man to treat .. as an operator rather than part of an
identifier.
Diffstat (limited to 'src')
-rw-r--r--src/LexLua.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexLua.cxx b/src/LexLua.cxx
index 3781eed83..3e4b25cb5 100644
--- a/src/LexLua.cxx
+++ b/src/LexLua.cxx
@@ -138,7 +138,7 @@ static void ColouriseLuaDoc(
sc.SetState(SCE_LUA_DEFAULT);
}
} else if (sc.state == SCE_LUA_IDENTIFIER) {
- if (!IsAWordChar(sc.ch)) {
+ if (!IsAWordChar(sc.ch) || sc.Match('.', '.')) {
char s[100];
sc.GetCurrent(s, sizeof(s));
if (keywords.InList(s)) {