diff options
author | nyamatongwe <unknown> | 2001-10-30 11:11:22 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-10-30 11:11:22 +0000 |
commit | 046f1c3e6635f0406de229acc2f63a95f2b8f34b (patch) | |
tree | 5310018e3e2a161ebd4a1558687b5c7af9cb66a2 /src | |
parent | 90883dc7f1ffad8b9e9b6c89eadf46c27e2882d9 (diff) | |
download | scintilla-mirror-046f1c3e6635f0406de229acc2f63a95f2b8f34b.tar.gz |
Fix to @off and @on.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexBullant.cxx | 3 |
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) { |