diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-06-16 19:45:02 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-06-16 19:45:02 -0400 |
commit | e5f4d80bbe0c085a55f676aa1b05fb9bab1e4dc7 (patch) | |
tree | 3b46494707be3560c855e1b1a4cdcd329f7fa570 /library/Text_Highlighter/xml.xml | |
parent | f2dda646ecf1d11bf88c085d1174d3c147f799b1 (diff) | |
parent | aa77b04860a68370d829f1081418e69777d0e1f9 (diff) | |
download | volse-hubzilla-e5f4d80bbe0c085a55f676aa1b05fb9bab1e4dc7.tar.gz volse-hubzilla-e5f4d80bbe0c085a55f676aa1b05fb9bab1e4dc7.tar.bz2 volse-hubzilla-e5f4d80bbe0c085a55f676aa1b05fb9bab1e4dc7.zip |
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'library/Text_Highlighter/xml.xml')
-rw-r--r-- | library/Text_Highlighter/xml.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/library/Text_Highlighter/xml.xml b/library/Text_Highlighter/xml.xml new file mode 100644 index 000000000..2271ff3ae --- /dev/null +++ b/library/Text_Highlighter/xml.xml @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<!-- $Id: xml.xml,v 1.1 2007-06-03 02:35:28 ssttoo Exp $ --> + +<highlight lang="xml" case="no"> + + <authors> + <author name="Andrey Demenev" email="demenev@gmail.com"/> + </authors> + + + <default innerClass="code" /> + + <region name="cdata" delimClass="comment" innerClass="comment" + start="\<\!\[CDATA\[" end="\]\]\>"> + </region> + + <region name="comment" delimClass="comment" innerClass="comment" + start="\<!--" end="--\>"> + </region> + + <region name="tag" delimClass="brackets" innerClass="code" start="\<[\?\/]?" end="[\/\?]?\>"> + <contains block="tagname"/> + <contains region="param"/> + <contains block="paramname"/> + </region> + + <block name="tagname" match="(?<=[\<\/?])[\w\-\:]+" innerClass="reserved" contained="yes"/> + + <block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes"/> + + <block name="entity" match="(&|%)[\w\-\.]+;" innerClass="special" /> + + <region name="param" start=""" end=""" delimClass="quotes" innerClass="string" contained="yes"> + <contains block="entity"/> + </region> + +</highlight> |