| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language> |
| 3 |
<language name="PLY" version="4" kateversion="5.0" section="3D" extensions="*.ply" mimetype="" author="Volker Krause ([email protected])" license="LGPLv2+"> |
| 4 |
<highlighting> |
| 5 |
<list name="keywords"> |
| 6 |
<item>format</item> |
| 7 |
<item>element</item> |
| 8 |
<item>property</item> |
| 9 |
<item>end_header</item> |
| 10 |
</list> |
| 11 |
<list name="types"> |
| 12 |
<item>char</item> |
| 13 |
<item>uchar</item> |
| 14 |
<item>short</item> |
| 15 |
<item>ushort</item> |
| 16 |
<item>int</item> |
| 17 |
<item>uint</item> |
| 18 |
<item>float</item> |
| 19 |
<item>double</item> |
| 20 |
<item>list</item> |
| 21 |
</list> |
| 22 |
<contexts> |
| 23 |
<context name="entryPoint" attribute="Error" lineEndContext="#stay"> |
| 24 |
<StringDetect String="ply" context="Header"/> |
| 25 |
</context> |
| 26 |
<context name="Header" attribute="Normal Text" lineEndContext="#stay"> |
| 27 |
<DetectSpaces/> |
| 28 |
<Float attribute="Float" context="#stay"/> |
| 29 |
<Int attribute="Decimal" context="#stay"/> |
| 30 |
<StringDetect String="comment" context="Comment" lookAhead="true"/> |
| 31 |
<keyword attribute="Keyword" context="#stay" String="keywords" column="0"/> |
| 32 |
<keyword attribute="DataType" context="#stay" String="types"/> |
| 33 |
</context> |
| 34 |
<context name="Comment" attribute="Comment" lineEndContext="#pop"> |
| 35 |
<DetectSpaces /> |
| 36 |
<IncludeRules context="##Comments"/> |
| 37 |
</context> |
| 38 |
</contexts> |
| 39 |
<itemDatas> |
| 40 |
<itemData name="Normal Text" defStyleNum="dsNormal"/> |
| 41 |
<itemData name="Keyword" defStyleNum="dsKeyword"/> |
| 42 |
<itemData name="Decimal" defStyleNum="dsDecVal"/> |
| 43 |
<itemData name="Float" defStyleNum="dsFloat"/> |
| 44 |
<itemData name="Comment" defStyleNum="dsComment"/> |
| 45 |
<itemData name="Error" defStyleNum="dsError"/> |
| 46 |
<itemData name="DataType" defStyleNum="dsDataType"/> |
| 47 |
</itemDatas> |
| 48 |
</highlighting> |
| 49 |
<general> |
| 50 |
<comments> |
| 51 |
<comment name="singleLine" start="comment"/> |
| 52 |
</comments> |
| 53 |
</general> |
| 54 |
</language> |
| 55 |
<!-- kate: replace-tabs on; tab-width 4; indent-width 4; --> |