diff options
author | nyamatongwe <devnull@localhost> | 2009-02-15 05:00:15 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-02-15 05:00:15 +0000 |
commit | a94a9d44a8955a20c86d9d7475c0eb407d789bf8 (patch) | |
tree | c0a758663f6073647d6217ab950510a1c98d9b1a | |
parent | 5b7029d0961b72dc529bf0d1c3970538836ade44 (diff) | |
download | scintilla-mirror-a94a9d44a8955a20c86d9d7475c0eb407d789bf8.tar.gz |
Bug #2532774 Wrong folding of comments in HTML/XML lexer fixed.
-rw-r--r-- | src/LexHTML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index c324a1437..c244dff27 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -868,7 +868,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) + if (foldHTMLPreprocessor || (state == SCE_H_COMMENT)) levelCurrent++; continue; } |