summaryrefslogtreecommitdiffstats
path: root/scintilla/src/LexSQL.cxx
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-11-01 00:07:00 +0000
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-11-01 00:07:00 +0000
commitae4769cd12b3900cb0e74085b8a4176499094131 (patch)
treed515ecfc945fbd38f8d5ac2ef32021892bdb29e4 /scintilla/src/LexSQL.cxx
parent7f17fcd2b3fa20c0a157fd975f2ecab3d726ba72 (diff)
downloadnotepad2-mod-ae4769cd12b3900cb0e74085b8a4176499094131.zip
notepad2-mod-ae4769cd12b3900cb0e74085b8a4176499094131.tar.gz
notepad2-mod-ae4769cd12b3900cb0e74085b8a4176499094131.tar.bz2
applied Kai Liu's code folding patch
git-svn-id: https://notepad2-mod.googlecode.com/svn/trunk@25 28bd50df-7adb-d945-0439-6e466c6a13cc
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++;