summaryrefslogtreecommitdiffstats
path: root/scintilla/src/LexCPP.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla/src/LexCPP.cxx')
-rw-r--r--scintilla/src/LexCPP.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/scintilla/src/LexCPP.cxx b/scintilla/src/LexCPP.cxx
index 94995bc..dfa0754 100644
--- a/scintilla/src/LexCPP.cxx
+++ b/scintilla/src/LexCPP.cxx
@@ -421,6 +421,7 @@ static void FoldCppDoc(unsigned int startPos, int length, int initStyle,
levelNext--;
}
}
+ /* Disable explicit folding; it can often cause problems with non-aware code
if (foldComment && (style == SCE_C_COMMENTLINE)) {
if ((ch == '/') && (chNext == '/')) {
char chNext2 = styler.SafeGetCharAt(i + 2);
@@ -431,6 +432,7 @@ static void FoldCppDoc(unsigned int startPos, int length, int initStyle,
}
}
}
+ */
if (foldPreprocessor && (style == SCE_C_PREPROCESSOR)) {
if (ch == '#') {
unsigned int j = i + 1;