diff options
author | Colomban Wendling <ban@herbesfolles.org> | 2012-07-05 17:41:19 +0200 |
---|---|---|
committer | Colomban Wendling <ban@herbesfolles.org> | 2012-07-05 17:41:19 +0200 |
commit | 2ff8dddb39f7ed4dfb51b8e7293a32a06c4d9cfe (patch) | |
tree | 6b6be9a8e2ef2b34a96fe6b3cc2c0abbaa55f20c /lexers/LexHTML.cxx | |
parent | c46b07b57cc96a4a735ed562dcf51b5d804c6e54 (diff) | |
download | scintilla-mirror-2ff8dddb39f7ed4dfb51b8e7293a32a06c4d9cfe.tar.gz |
LexHTML: Fix folding of CDATA blocks when fold.html.preprocessor is off
Diffstat (limited to 'lexers/LexHTML.cxx')
-rw-r--r-- | lexers/LexHTML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexHTML.cxx b/lexers/LexHTML.cxx index 372a5b7b7..fe5e8c857 100644 --- a/lexers/LexHTML.cxx +++ b/lexers/LexHTML.cxx @@ -1089,7 +1089,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty state = SCE_H_SGML_COMMAND; // wait for a pending command } // fold whole tag (-- when closing the tag) - if (foldHTMLPreprocessor || (state == SCE_H_COMMENT)) + if (foldHTMLPreprocessor || state == SCE_H_COMMENT || state == SCE_H_CDATA) levelCurrent++; continue; } |