aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexSQL.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-03-23 08:57:19 +0000
committernyamatongwe <unknown>2000-03-23 08:57:19 +0000
commit74774065a9c1cc84304ce841bbfa56e45a362bd7 (patch)
tree7e6ab8429636e1915f7554ebd6663485cbd23e73 /src/LexSQL.cxx
parent8215e26730058344bf706cafd76048703a283151 (diff)
downloadscintilla-mirror-74774065a9c1cc84304ce841bbfa56e45a362bd7.tar.gz
Fixed bug in ContractionState when files larer than 400 lines had fold points set.
Fixed block comments in PLSQL.
Diffstat (limited to 'src/LexSQL.cxx')
-rw-r--r--src/LexSQL.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexSQL.cxx b/src/LexSQL.cxx
index c76dd3b07..0f5ca5614 100644
--- a/src/LexSQL.cxx
+++ b/src/LexSQL.cxx
@@ -114,8 +114,8 @@ static void ColouriseSQLDoc(unsigned int startPos, int length,
if (ch == '/' && chPrev == '*') {
if (((i > (styler.GetStartSegment() + 2)) || ((initStyle == SCE_C_COMMENT) &&
(styler.GetStartSegment() == startPos)))) {
- state = SCE_C_DEFAULT;
styler.ColourTo(i, state);
+ state = SCE_C_DEFAULT;
}
}
} else if (state == SCE_C_COMMENTLINE) {