diff options
author | nyamatongwe <devnull@localhost> | 2004-07-22 23:04:20 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2004-07-22 23:04:20 +0000 |
commit | a2a4bbef31c224b635bd20c8d2955daa0bc81964 (patch) | |
tree | addaf97152f5e36b3c1aa78f5b75e02eed485ab4 /src | |
parent | 1e897e643d5acc133f9c90beeec20428d2037e41 (diff) | |
download | scintilla-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.cxx | 2 |
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)) { |