Warning, /frameworks/syntax-highlighting/data/syntax/ppd.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 
0003 <!DOCTYPE language []>
0004 
0005 <!--
0006 The following documentation is available for PPD:
0007 - File Format Specification: http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf
0008 - Update to the Specification: http://partners.adobe.com/public/developer/en/ps/5645.PPD_Update.pdf
0009 - CUPS PPD Extensions: http://www.cups.org/documentation.php/doc-1.4/spec-ppd.html
0010 -->
0011 
0012 <language name="PostScript Printer Description" version="4" kateversion="5.0" section="Markup" extensions="*.ppd" author="Lukas Sommer" mimetype="application/vnd.cups-ppd" license="Public Domain">
0013 
0014     <highlighting>
0015 
0016         <contexts>
0017             <context attribute="Option" lineEndContext="#stay" name="contextNormal">
0018                 <Detect2Chars context="contextComment" char="*" char1="%" column="0"/>
0019                 <DetectChar attribute="Colon" context="contextValue" char=":" />
0020                 <StringDetect attribute="Keyword" String="*OpenUI" beginRegion="ui"/>
0021                 <StringDetect attribute="Keyword" String="*CloseUI" endRegion="ui"/>
0022                 <StringDetect attribute="Keyword" String="*OpenGroup" beginRegion="group"/>
0023                 <StringDetect attribute="Keyword" String="*CloseGroup" endRegion="group"/>
0024                 <RegExpr attribute="Keyword" String="\*[&#33;-&#46;&#48;-&#57;&#59;-&#126;]*"/> <!-- According to http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf page 16 (page 20 in the PDF file), all characters from 33 to 126 are allowed, except ':' and '/'. -->
0025             </context>
0026             <context attribute="Comment" lineEndContext="#pop" name="contextComment">
0027                 <DetectSpaces />
0028                 <IncludeRules context="##Comments"/>
0029             </context>
0030             <context attribute="Value" lineEndContext="#pop" name="contextValue">
0031                 <DetectSpaces/>
0032                 <DetectChar attribute="Value" context="contextValueMultiLine" char="&quot;" />
0033                 <RegExpr attribute="Value" context="contextValueSingleLine" String="."/>
0034             </context>
0035             <context attribute="Value" lineEndContext="#stay" name="contextValueMultiLine">
0036                 <DetectSpaces/>
0037                 <DetectChar attribute="Value" context="#pop" char="&quot;" />
0038             </context>
0039             <context attribute="Value" lineEndContext="#pop" name="contextValueSingleLine">
0040             </context>
0041         </contexts>
0042 
0043         <itemDatas>
0044           <itemData name="Comment" defStyleNum="dsComment"/>
0045           <itemData name="Keyword" defStyleNum="dsKeyword"/>
0046           <itemData name="Colon"   defStyleNum="dsKeyword"/>
0047           <itemData name="Value"  defStyleNum="dsString"/>
0048           <itemData name="Option"  defStyleNum="dsOthers"/>
0049         </itemDatas>
0050 
0051     </highlighting>
0052 
0053     <general>
0054         <comments>
0055             <comment name="singleLine" start="*%"/>
0056         </comments>
0057     </general>
0058 
0059 </language>
0060 <!-- kate: replace-tabs on; tab-width 4; indent-width 4; -->