diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-04-28 12:41:55 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:42 +0100 |
commit | f4b8e3a055ccbb2ddebf14409de1ace25c919c27 (patch) | |
tree | 6181c21cba3d797e15c77db9d4326779f7fd602f | |
parent | 02fb067980ad2bcdd0c5f509d21071fb743a671a (diff) | |
download | tdelibs-f4b8e3a055ccbb2ddebf14409de1ace25c919c27.tar.gz tdelibs-f4b8e3a055ccbb2ddebf14409de1ace25c919c27.zip |
Kate syntax highlighting files update - Apr 2014
(cherry picked from commit 3ddabae8fd776dd69e0b6ca8c25d18f47fbd9a62)
-rw-r--r-- | kate/data/html-php.xml | 20 | ||||
-rw-r--r-- | kate/data/html.xml | 20 | ||||
-rw-r--r-- | kate/data/update-files.xml | 4 |
3 files changed, 40 insertions, 4 deletions
diff --git a/kate/data/html-php.xml b/kate/data/html-php.xml index 7367b656b..7a5215fbc 100644 --- a/kate/data/html-php.xml +++ b/kate/data/html-php.xml @@ -10,7 +10,7 @@ -<language name="PHP (HTML)" version="1.99" kateversion="2.4" section="Scripts" extensions="*.php;*.php3;*.wml;*.phtml;*.phtm;*.inc" mimetype="text/x-php4-src;text/x-php3-src;text/vnd.wap.wml;application/x-php" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> +<language name="PHP (HTML)" version="2.0" kateversion="2.4" section="Scripts" extensions="*.php;*.php3;*.wml;*.phtml;*.phtm;*.inc" mimetype="text/x-php4-src;text/x-php3-src;text/vnd.wap.wml;application/x-php" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> <highlighting> <contexts> @@ -35,6 +35,15 @@ <RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="TRUE" beginRegion="ul" /> <RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="TRUE" beginRegion="ol" /> <RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="TRUE" beginRegion="dl" /> + <RegExpr attribute="Element" context="El Open" String="<article\b" insensitive="TRUE" beginRegion="article" /> + <RegExpr attribute="Element" context="El Open" String="<aside\b" insensitive="TRUE" beginRegion="aside" /> + <RegExpr attribute="Element" context="El Open" String="<details\b" insensitive="TRUE" beginRegion="details" /> + <RegExpr attribute="Element" context="El Open" String="<figure\b" insensitive="TRUE" beginRegion="figure" /> + <RegExpr attribute="Element" context="El Open" String="<footer\b" insensitive="TRUE" beginRegion="footer" /> + <RegExpr attribute="Element" context="El Open" String="<header\b" insensitive="TRUE" beginRegion="header" /> + <RegExpr attribute="Element" context="El Open" String="<main\b" insensitive="TRUE" beginRegion="main" /> + <RegExpr attribute="Element" context="El Open" String="<nav\b" insensitive="TRUE" beginRegion="nav" /> + <RegExpr attribute="Element" context="El Open" String="<section\b" insensitive="TRUE" beginRegion="section" /> <RegExpr attribute="Element" context="El Open" String="<&name;" /> <RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="TRUE" endRegion="pre" /> <RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="TRUE" endRegion="div" /> @@ -42,6 +51,15 @@ <RegExpr attribute="Element" context="El Close" String="</ul\b" insensitive="TRUE" endRegion="ul" /> <RegExpr attribute="Element" context="El Close" String="</ol\b" insensitive="TRUE" endRegion="ol" /> <RegExpr attribute="Element" context="El Close" String="</dl\b" insensitive="TRUE" endRegion="dl" /> + <RegExpr attribute="Element" context="El Close" String="</article\b" insensitive="TRUE" endRegion="article" /> + <RegExpr attribute="Element" context="El Close" String="</aside\b" insensitive="TRUE" endRegion="aside" /> + <RegExpr attribute="Element" context="El Close" String="</details\b" insensitive="TRUE" endRegion="details" /> + <RegExpr attribute="Element" context="El Close" String="</figure\b" insensitive="TRUE" endRegion="figure" /> + <RegExpr attribute="Element" context="El Close" String="</footer\b" insensitive="TRUE" endRegion="footer" /> + <RegExpr attribute="Element" context="El Close" String="</header\b" insensitive="TRUE" endRegion="header" /> + <RegExpr attribute="Element" context="El Close" String="</main\b" insensitive="TRUE" endRegion="main" /> + <RegExpr attribute="Element" context="El Close" String="</nav\b" insensitive="TRUE" endRegion="nav" /> + <RegExpr attribute="Element" context="El Close" String="</section\b" insensitive="TRUE" endRegion="section" /> <RegExpr attribute="Element" context="El Close" String="</&name;" /> <!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" /> <IncludeRules context="FindEntityRefs" /> diff --git a/kate/data/html.xml b/kate/data/html.xml index e2c46db44..756fa8f8e 100644 --- a/kate/data/html.xml +++ b/kate/data/html.xml @@ -4,7 +4,7 @@ <!ENTITY name "[A-Za-z_:][\w.:_-]*"> <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]> -<language name="HTML" version="1.99" kateversion="2.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> +<language name="HTML" version="2.0" kateversion="2.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> <highlighting> <contexts> @@ -27,6 +27,15 @@ <RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="TRUE" beginRegion="ul" /> <RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="TRUE" beginRegion="ol" /> <RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="TRUE" beginRegion="dl" /> + <RegExpr attribute="Element" context="El Open" String="<article\b" insensitive="TRUE" beginRegion="article" /> + <RegExpr attribute="Element" context="El Open" String="<aside\b" insensitive="TRUE" beginRegion="aside" /> + <RegExpr attribute="Element" context="El Open" String="<details\b" insensitive="TRUE" beginRegion="details" /> + <RegExpr attribute="Element" context="El Open" String="<figure\b" insensitive="TRUE" beginRegion="figure" /> + <RegExpr attribute="Element" context="El Open" String="<footer\b" insensitive="TRUE" beginRegion="footer" /> + <RegExpr attribute="Element" context="El Open" String="<header\b" insensitive="TRUE" beginRegion="header" /> + <RegExpr attribute="Element" context="El Open" String="<main\b" insensitive="TRUE" beginRegion="main" /> + <RegExpr attribute="Element" context="El Open" String="<nav\b" insensitive="TRUE" beginRegion="nav" /> + <RegExpr attribute="Element" context="El Open" String="<section\b" insensitive="TRUE" beginRegion="section" /> <RegExpr attribute="Element" context="El Open" String="<&name;" /> <RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="TRUE" endRegion="pre" /> <RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="TRUE" endRegion="div" /> @@ -34,6 +43,15 @@ <RegExpr attribute="Element" context="El Close" String="</ul\b" insensitive="TRUE" endRegion="ul" /> <RegExpr attribute="Element" context="El Close" String="</ol\b" insensitive="TRUE" endRegion="ol" /> <RegExpr attribute="Element" context="El Close" String="</dl\b" insensitive="TRUE" endRegion="dl" /> + <RegExpr attribute="Element" context="El Close" String="</article\b" insensitive="TRUE" endRegion="article" /> + <RegExpr attribute="Element" context="El Close" String="</aside\b" insensitive="TRUE" endRegion="aside" /> + <RegExpr attribute="Element" context="El Close" String="</details\b" insensitive="TRUE" endRegion="details" /> + <RegExpr attribute="Element" context="El Close" String="</figure\b" insensitive="TRUE" endRegion="figure" /> + <RegExpr attribute="Element" context="El Close" String="</footer\b" insensitive="TRUE" endRegion="footer" /> + <RegExpr attribute="Element" context="El Close" String="</header\b" insensitive="TRUE" endRegion="header" /> + <RegExpr attribute="Element" context="El Close" String="</main\b" insensitive="TRUE" endRegion="main" /> + <RegExpr attribute="Element" context="El Close" String="</nav\b" insensitive="TRUE" endRegion="nav" /> + <RegExpr attribute="Element" context="El Close" String="</section\b" insensitive="TRUE" endRegion="section" /> <RegExpr attribute="Element" context="El Close" String="</&name;" /> <!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" /> <IncludeRules context="FindEntityRefs" /> diff --git a/kate/data/update-files.xml b/kate/data/update-files.xml index 341dae9ef..d4ae83a21 100644 --- a/kate/data/update-files.xml +++ b/kate/data/update-files.xml @@ -82,8 +82,8 @@ <Definition name="KDev-PG[-Qt] Grammar" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/grammar.xml" version="0.24-1"/> <Definition name="Haml" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/haml.xml" version="1.1"/> <Definition name="Haskell" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/haskell.xml" version="2.2"/> -<Definition name="PHP (HTML)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/html-php.xml" version="1.99"/> -<Definition name="HTML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/html.xml" version="1.99"/> +<Definition name="PHP (HTML)" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/html-php.xml" version="2.0"/> +<Definition name="HTML" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/html.xml" version="2.0"/> <Definition name="Quake Script" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/idconsole.xml" version="1.02"/> <Definition name="IDL" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/idl.xml" version="1.07"/> <Definition name="ILERPG" url="http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/ilerpg.xml" version="1.05-1"/> |