diff options
| author | nyamatongwe <unknown> | 2013-06-25 18:08:24 +1000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2013-06-25 18:08:24 +1000 | 
| commit | e8455b88b163bce8cf739aeb7533cf1c518dd900 (patch) | |
| tree | faed76f3612ede972116231ea3c3de2df86649f1 | |
| parent | dc3610a6683da91158bb004d99d58a8a90b8611c (diff) | |
| download | scintilla-mirror-e8455b88b163bce8cf739aeb7533cf1c518dd900.tar.gz | |
Make labels work with non-ASCII characters in UTF-8.
| -rw-r--r-- | lexers/LexLua.cxx | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/lexers/LexLua.cxx b/lexers/LexLua.cxx index 4277d87a5..f0c3a5e57 100644 --- a/lexers/LexLua.cxx +++ b/lexers/LexLua.cxx @@ -171,16 +171,16 @@ static void ColouriseLuaDoc(  							sc.ChangeState(SCE_LUA_LABEL);  							if (ws1) {  								sc.SetState(SCE_LUA_DEFAULT); -								sc.Forward(ws1); +								sc.ForwardBytes(ws1);  							}  							sc.SetState(SCE_LUA_LABEL); -							sc.Forward(lbl - ws1); +							sc.ForwardBytes(lbl - ws1);  							if (ws2) {  								sc.SetState(SCE_LUA_DEFAULT); -								sc.Forward(ws2); +								sc.ForwardBytes(ws2);  							}  							sc.SetState(SCE_LUA_LABEL); -							sc.Forward(2); +							sc.ForwardBytes(2);  						}  					}  				} | 
