diff options
author | nyamatongwe <devnull@localhost> | 2010-07-31 09:54:26 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-07-31 09:54:26 +1000 |
commit | 251fd8d0cefce215661baf08b35a6e2b721bf315 (patch) | |
tree | 4d36ac76ad4efd3014ae3896ba9a65493ada566f | |
parent | bd4dcceba8e7a3388b0be7f37b4c087a9e2dc8a3 (diff) | |
download | scintilla-mirror-251fd8d0cefce215661baf08b35a6e2b721bf315.tar.gz |
Patch from Stephan to remove bad folding for Django. Bug #3034853.
-rw-r--r-- | lexers/LexHTML.cxx | 5 |
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; } |