aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-07-31 09:54:26 +1000
committernyamatongwe <devnull@localhost>2010-07-31 09:54:26 +1000
commit251fd8d0cefce215661baf08b35a6e2b721bf315 (patch)
tree4d36ac76ad4efd3014ae3896ba9a65493ada566f /lexers/LexHTML.cxx
parentbd4dcceba8e7a3388b0be7f37b4c087a9e2dc8a3 (diff)
downloadscintilla-mirror-251fd8d0cefce215661baf08b35a6e2b721bf315.tar.gz
Patch from Stephan to remove bad folding for Django. Bug #3034853.
Diffstat (limited to 'lexers/LexHTML.cxx')
-rw-r--r--lexers/LexHTML.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/lexers/LexHTML.cxx b/lexers/LexHTML.cxx
index 4f9fa9c92..6aa2e13bc 100644
--- a/lexers/LexHTML.cxx
+++ b/lexers/LexHTML.cxx
@@ -964,8 +964,6 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
beforeLanguage = scriptLanguage;
scriptLanguage = eScriptPython;
styler.ColourTo(i, SCE_H_ASP);
- if (foldHTMLPreprocessor && chNext == '%')
- levelCurrent++;
ch = static_cast<unsigned char>(styler.SafeGetCharAt(i));
continue;
@@ -1092,9 +1090,6 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
inScriptType = eNonHtmlScript;
else
inScriptType = eHtml;
- if (foldHTMLPreprocessor) {
- levelCurrent--;
- }
scriptLanguage = beforeLanguage;
continue;
}