summaryrefslogtreecommitdiffstats
path: root/scintilla/src/LexSQL.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla/src/LexSQL.cxx')
-rw-r--r--scintilla/src/LexSQL.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/scintilla/src/LexSQL.cxx b/scintilla/src/LexSQL.cxx
index c739e4f..9414537 100644
--- a/scintilla/src/LexSQL.cxx
+++ b/scintilla/src/LexSQL.cxx
@@ -262,6 +262,7 @@ static void FoldSQLDoc(unsigned int startPos, int length, int initStyle,
levelNext--;
}
}
+ /* Disable explicit folding; it can often cause problems with non-aware code
if (foldComment && (style == SCE_SQL_COMMENTLINE)) {
// MySQL needs -- comments to be followed by space or control char
if ((ch == '-') && (chNext == '-')) {
@@ -274,6 +275,7 @@ static void FoldSQLDoc(unsigned int startPos, int length, int initStyle,
}
}
}
+ */
if (style == SCE_SQL_OPERATOR) {
if (ch == '(') {
levelNext++;