1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-11-14 06:56:17 +01:00
joe-syntax/xml_nest-decl.patch
Christian Nicolai d3e22cfc31 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.
2011-08-05 22:58:55 +02:00

12 lines
308 B
Diff

--- 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