mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02:54:23 +01:00
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:
parent
6b47a433ab
commit
d3e22cfc31
11
xml_nest-decl.patch
Normal file
11
xml_nest-decl.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user