From 3bdd57848b1722d7c09c2f2ed4b970fc4b050328 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 26 Jun 2013 23:40:28 +1000 Subject: Simplify label handling code and avoid checking to end of line. From Kein-Hong Man. --- lexers/LexLua.cxx | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) (limited to 'lexers') diff --git a/lexers/LexLua.cxx b/lexers/LexLua.cxx index f0c3a5e57..62bb44dd1 100644 --- a/lexers/LexLua.cxx +++ b/lexers/LexLua.cxx @@ -132,39 +132,22 @@ static void ColouriseLuaDoc( if (sc.state == SCE_LUA_OPERATOR) { if (sc.ch == ':' && sc.chPrev == ':') { // ::