From 046f1c3e6635f0406de229acc2f63a95f2b8f34b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 30 Oct 2001 11:11:22 +0000 Subject: Fix to @off and @on. --- src/LexBullant.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/LexBullant.cxx b/src/LexBullant.cxx index 0deae1051..dd317d7a3 100644 --- a/src/LexBullant.cxx +++ b/src/LexBullant.cxx @@ -80,7 +80,7 @@ static void ColouriseBullantDoc(unsigned int startPos, int length, int initStyle char chNext = styler[startPos]; unsigned int lengthDoc = startPos + length; int visibleChars = 0; - //int blockChange = 0; + // int blockChange = 0; styler.StartSegment(startPos); int endFoundThisLine = 0; for (unsigned int i = startPos; i < lengthDoc; i++) { @@ -177,6 +177,7 @@ static void ColouriseBullantDoc(unsigned int startPos, int length, int initStyle if (styler.SafeGetCharAt(i+2) == 'n') { styler.ColourTo(i+2, state); state = SCE_C_DEFAULT; + i+=2; } } } else if (state == SCE_C_COMMENTLINE) { -- cgit v1.2.3