SF.net SVN: geany:[3583] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Feb 15 10:55:59 UTC 2009
Revision: 3583
http://geany.svn.sourceforge.net/geany/?rev=3583&view=rev
Author: eht16
Date: 2009-02-15 10:55:58 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Backport a change from Scintilla CVS to fix wrong folding of comments in HTML/XML lexer (Scintilla #2532774, thanks to Jason Oster).
Modified Paths:
--------------
trunk/ChangeLog
trunk/scintilla/LexHTML.cxx
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-02-14 17:39:45 UTC (rev 3582)
+++ trunk/ChangeLog 2009-02-15 10:55:58 UTC (rev 3583)
@@ -1,3 +1,10 @@
+2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * scitilla/LexHTML.cxx:
+ Backport a change from Scintilla CVS to fix wrong folding of comments
+ in HTML/XML lexer (Scintilla #2532774, thanks to Jason Oster).
+
+
2009-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/plugins.dox:
Modified: trunk/scintilla/LexHTML.cxx
===================================================================
--- trunk/scintilla/LexHTML.cxx 2009-02-14 17:39:45 UTC (rev 3582)
+++ trunk/scintilla/LexHTML.cxx 2009-02-15 10:55:58 UTC (rev 3583)
@@ -855,7 +855,7 @@
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list