aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-10-30 11:11:22 +0000
committernyamatongwe <unknown>2001-10-30 11:11:22 +0000
commit046f1c3e6635f0406de229acc2f63a95f2b8f34b (patch)
tree5310018e3e2a161ebd4a1558687b5c7af9cb66a2
parent90883dc7f1ffad8b9e9b6c89eadf46c27e2882d9 (diff)
downloadscintilla-mirror-046f1c3e6635f0406de229acc2f63a95f2b8f34b.tar.gz
Fix to @off and @on.
-rw-r--r--src/LexBullant.cxx3
1 files changed, 2 insertions, 1 deletions
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) {