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:43:57 +0900
commitfe822d8d7a4622850cb48358ef036dd6438d90cd (patch)
tree04e789632f18be7bd2efc594b30bdd1fef7bae99 /kate/data/ppd.xml
parentde95f20e975053e910c1291974dd0c9acc716b97 (diff)
downloadtdelibs-fe822d8d7a4622850cb48358ef036dd6438d90cd.tar.gz
tdelibs-fe822d8d7a4622850cb48358ef036dd6438d90cd.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.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>