summaryrefslogtreecommitdiffstats
path: root/kate/data/ppd.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-01-20 08:37:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-01-20 08:37:40 +0900
commit3cefb44bccead583a49043b1169cfea1e6367c7a (patch)
treec57b9d445865adf397412ba8a8b6759c298fdfeb /kate/data/ppd.xml
parent98e72add315583a49ea7fb8f63e408ea041ac8d9 (diff)
downloadtdelibs-3cefb44bccead583a49043b1169cfea1e6367c7a.tar.gz
tdelibs-3cefb44bccead583a49043b1169cfea1e6367c7a.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.
Diffstat (limited to 'kate/data/ppd.xml')
-rw-r--r--kate/data/ppd.xml16
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="&quot;" />
+ <RegExpr attribute="Value" context="contextValueSingleLine" String="."/>
+ </context>
+ <context attribute="Value" lineEndContext="#stay" name="contextValueMultiLine">
+ <DetectSpaces/>
+ <DetectChar attribute="Value" context="#pop" char="&quot;" />
+ </context>
+ <context attribute="Value" lineEndContext="#pop" name="contextValueSingleLine">
+ </context>
</contexts>
<itemDatas>