Added XML nested declaration patch

I don't know whether this introduces bugs with the XML highlighter but the
nested declaration highlighting is wrong (IMO and compared to other editors)
in situations like this:

    <!--<inner_tag>
    foo
    bar
    -->

The second '<' after the <!-- activates the nested_decl rule and prevents this
comment from being highlighted with class Comment.
This commit is contained in:
Christian Nicolai 2011-08-05 22:58:55 +02:00
parent 6b47a433ab
commit d3e22cfc31
1 changed files with 11 additions and 0 deletions

11
xml_nest-decl.patch Normal file
View File

@ -0,0 +1,11 @@
--- xml.jsf 2011-08-05 10:11:38.000000000 +0200
+++ xml.new.jsf 2011-08-05 10:14:15.000000000 +0200
@@ -226,7 +226,7 @@
"!--" comment_start recolor=-5
"![CDATA[" cdata_start recolor=-10
done
- "<" decl_nest
+# "<" decl_nest
">" content
# We allow one level of <...> nesting within declarations