diff options
author | nyamatongwe <unknown> | 2004-07-22 23:04:20 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-07-22 23:04:20 +0000 |
commit | 470be602fb2519c90bdf104f6ee0b143e6b31594 (patch) | |
tree | addaf97152f5e36b3c1aa78f5b75e02eed485ab4 /src/LexLua.cxx | |
parent | ff5918808d0a33dda52edf2b429d44b19b4a637d (diff) | |
download | scintilla-mirror-470be602fb2519c90bdf104f6ee0b143e6b31594.tar.gz |
Fix from Kein-Hong Man to treat .. as an operator rather than part of an
identifier.
Diffstat (limited to 'src/LexLua.cxx')
-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)) { |