aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
diff options
context:
space:
mode:
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;
}