diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-01-20 08:37:40 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:58 +0100 |
commit | 787d3a348bee5032e5d71d417d2b74163c30d719 (patch) | |
tree | c1c16df311d3d0b8f70a8a078529a2c8f82b5b48 /kate/data/ppd.xml | |
parent | 26d879762a7fcccd9b8c4a5ead496f95a67f7886 (diff) | |
download | tdelibs-787d3a348bee5032e5d71d417d2b74163c30d719.tar.gz tdelibs-787d3a348bee5032e5d71d417d2b74163c30d719.zip |
Kate syntax highlighting files update - Jan 2015.
1) Changes in asm-m68k.xml, ppd.xml, sql-oracle.xml taken from http://kate-editor.org/syntax/2.5
2) Changes to the other files from myself.
(cherry picked from commit 3cefb44bccead583a49043b1169cfea1e6367c7a)
Diffstat (limited to 'kate/data/ppd.xml')
-rw-r--r-- | kate/data/ppd.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/kate/data/ppd.xml b/kate/data/ppd.xml index 796bd9009..cfe9a77aa 100644 --- a/kate/data/ppd.xml +++ b/kate/data/ppd.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd" []> @@ -9,7 +9,7 @@ The following documentation is available for PPD: - CUPS PPD Extensions: http://www.cups.org/documentation.php/doc-1.4/spec-ppd.html --> -<language name="PostScript Printer Description" version="0.1" kateversion="2.4" section="Markup" extensions="*.ppd" author="Lukas Sommer" mimetype="application/vnd.cups-ppd" license="public domain"> +<language name="PostScript Printer Description" version="0.2" kateversion="2.4" section="Markup" extensions="*.ppd" author="Lukas Sommer" mimetype="application/vnd.cups-ppd" license="public domain"> <highlighting> @@ -26,7 +26,17 @@ The following documentation is available for PPD: <context attribute="Comment" lineEndContext="#pop" name="contextComment"> <IncludeRules context="##Alerts"/> </context> - <context attribute="Value" lineEndContext="#pop" name="contextValue"></context> + <context attribute="Value" lineEndContext="#pop" name="contextValue"> + <DetectSpaces/> + <DetectChar attribute="Value" context="contextValueMultiLine" char=""" /> + <RegExpr attribute="Value" context="contextValueSingleLine" String="."/> + </context> + <context attribute="Value" lineEndContext="#stay" name="contextValueMultiLine"> + <DetectSpaces/> + <DetectChar attribute="Value" context="#pop" char=""" /> + </context> + <context attribute="Value" lineEndContext="#pop" name="contextValueSingleLine"> + </context> </contexts> <itemDatas> |