summaryrefslogtreecommitdiffstats
path: root/kate/data/ppd.xml
diff options
context:
space:
mode:
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>