aboutsummaryrefslogtreecommitdiffstats
path: root/library/Text_Highlighter/dtd.xml
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-30 19:50:41 -0700
committerzotlabs <mike@macgirvin.com>2017-05-30 19:50:41 -0700
commitdfc0d4cf59a9de98bc088c80e75877d9fc9fcab9 (patch)
tree705fa6a28cfe3cef7a32deed8b3731aa83c6d34c /library/Text_Highlighter/dtd.xml
parentbfad624528499e27125fae18799940319fc32c6d (diff)
downloadvolse-hubzilla-dfc0d4cf59a9de98bc088c80e75877d9fc9fcab9.tar.gz
volse-hubzilla-dfc0d4cf59a9de98bc088c80e75877d9fc9fcab9.tar.bz2
volse-hubzilla-dfc0d4cf59a9de98bc088c80e75877d9fc9fcab9.zip
move code syntax highlighting to plugin
Diffstat (limited to 'library/Text_Highlighter/dtd.xml')
-rw-r--r--library/Text_Highlighter/dtd.xml66
1 files changed, 0 insertions, 66 deletions
diff --git a/library/Text_Highlighter/dtd.xml b/library/Text_Highlighter/dtd.xml
deleted file mode 100644
index 18fa07db7..000000000
--- a/library/Text_Highlighter/dtd.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0"?>
-<!-- $Id: dtd.xml,v 1.1 2007-06-03 02:35:28 ssttoo Exp $ -->
-
-<highlight lang="dtd" case="yes">
-
- <authors>
- <author name="Andrey Demenev" email="demenev@gmail.com"/>
- </authors>
-
-
- <default innerClass="code" />
-
- <region name="comment" delimClass="comment" innerClass="comment"
- start="\&lt;!--" end="--\&gt;">
- </region>
-
- <region name="redecl" start="\&lt;\!\[" end="\]\]\&gt;" delimClass="brackets"
- innerClass="code" never-contained="yes">
- <contains all="yes" />
- </region>
-
- <region name="tag" start="\&lt;" end="\&gt;" delimClass="brackets"
- innerClass="code" >
- <contains all="yes" />
- <onlyin region="redecl"/>
- </region>
-
- <region name="brackets" start="\(" end="\)" delimClass="brackets"
- innerClass="code" contained="yes">
- <onlyin region="tag"/>
- <onlyin region="brackets"/>
- <contains block="entity" />
- <contains block="identifier" />
- </region>
-
- <region name="strsingle" start="'" end="'" delimClass="quotes"
- innerClass="string" contained="yes">
- <onlyin region="tag"/>
- <contains block="entity" />
- </region>
-
- <region name="strdouble" start="&quot;" end="&quot;" delimClass="quotes"
- innerClass="string" contained="yes">
- <onlyin region="tag"/>
- <contains block="entity" />
- </region>
-
- <block name="tagname" match="(?&lt;=\&lt;)!(ENTITY|ATTLIST|ELEMENT|NOTATION)\b"
- innerClass="var" contained="yes">
- <onlyin region="tag"/>
- </block>
-
- <block name="reserved" match="\s(#(IMPLIED|REQUIRED|FIXED))|CDATA|ENTITY|NOTATION|NMTOKENS?|PUBLIC|SYSTEM\b"
- innerClass="reserved" contained="yes">
- <onlyin region="tag"/>
- </block>
-
- <block name="pcdata" match="#PCDATA\b"
- innerClass="reserved" contained="yes" />
-
- <block name="entity" match="(\&amp;|\%)[\w\-\.]+;" innerClass="special" />
-
- <block name="identifier" match="[a-z][a-z\d\-\,:]+"
- innerClass="identifier" contained="yes" case="no"/>
-
-</highlight>