| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language> |
| 3 |
<language name="IDL" version="7" kateversion="5.0" section="Sources" extensions="*.idl" mimetype="text/x-idl-src"> |
| 4 |
<highlighting> |
| 5 |
<list name="keywords"> |
| 6 |
<item>any</item> |
| 7 |
<item>attribute</item> |
| 8 |
<item>case</item> |
| 9 |
<item>const</item> |
| 10 |
<item>context</item> |
| 11 |
<item>default</item> |
| 12 |
<item>enum</item> |
| 13 |
<item>exception</item> |
| 14 |
<item>FALSE</item> |
| 15 |
<item>fixed</item> |
| 16 |
<item>public</item> |
| 17 |
<item>in</item> |
| 18 |
<item>inout</item> |
| 19 |
<item>interface</item> |
| 20 |
<item>module</item> |
| 21 |
<item>Object</item> |
| 22 |
<item>oneway</item> |
| 23 |
<item>out</item> |
| 24 |
<item>raises</item> |
| 25 |
<item>readonly</item> |
| 26 |
<item>sequence</item> |
| 27 |
<item>struct</item> |
| 28 |
<item>switch</item> |
| 29 |
<item>TRUE</item> |
| 30 |
<item>typedef</item> |
| 31 |
<item>unsigned</item> |
| 32 |
<item>union</item> |
| 33 |
</list> |
| 34 |
<list name="types"> |
| 35 |
<item>boolean</item> |
| 36 |
<item>char</item> |
| 37 |
<item>double</item> |
| 38 |
<item>float</item> |
| 39 |
<item>long</item> |
| 40 |
<item>octet</item> |
| 41 |
<item>short</item> |
| 42 |
<item>string</item> |
| 43 |
<item>void</item> |
| 44 |
<item>wchar</item> |
| 45 |
<item>wstring</item> |
| 46 |
</list> |
| 47 |
<contexts> |
| 48 |
<context attribute="Normal Text" lineEndContext="#stay" name="Normal"> |
| 49 |
<keyword attribute="Keyword" context="#stay" String="keywords" /> |
| 50 |
<keyword attribute="Data Type" context="#stay" String="types" /> |
| 51 |
<HlCOct attribute="Octal" context="#stay"/> |
| 52 |
<HlCHex attribute="Hex" context="#stay"/> |
| 53 |
<HlCChar attribute="Char" context="#stay"/> |
| 54 |
<DetectChar attribute="String" context="String" char="""/> |
| 55 |
<IncludeRules context="FindComments" /> |
| 56 |
<AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^{|}~"/> |
| 57 |
<StringDetect attribute="Comment" context="Some Context3" String="#if 0" insensitive="false"/> |
| 58 |
<DetectChar attribute="Preprocessor" context="Preprocessor" char="#" column="0"/> |
| 59 |
</context> |
| 60 |
<context name="FindComments" attribute="Normal Text" lineEndContext="#pop"> |
| 61 |
<Detect2Chars attribute="Comment" context="MatchComment" char="/" char1="/" lookAhead="true"/> |
| 62 |
<Detect2Chars attribute="Comment" context="MatchComment" char="/" char1="*" lookAhead="true" /> |
| 63 |
</context> |
| 64 |
<context name="MatchComment" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> |
| 65 |
<IncludeRules context="##Doxygen" /> |
| 66 |
<Detect2Chars attribute="Comment" context="#pop!Commentar 1" char="/" char1="/" /> |
| 67 |
<Detect2Chars attribute="Comment" context="#pop!Commentar 2" char="/" char1="*" beginRegion="Comment" /> |
| 68 |
</context> |
| 69 |
<context attribute="String" lineEndContext="#stay" name="String"> |
| 70 |
<LineContinue attribute="String" context="Some Context"/> |
| 71 |
<HlCStringChar attribute="String Char" context="#stay"/> |
| 72 |
<DetectChar attribute="String" context="#pop" char="""/> |
| 73 |
</context> |
| 74 |
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> |
| 75 |
<DetectSpaces /> |
| 76 |
<IncludeRules context="##Comments" /> |
| 77 |
</context> |
| 78 |
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> |
| 79 |
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> |
| 80 |
<DetectSpaces /> |
| 81 |
<IncludeRules context="##Comments" /> |
| 82 |
</context> |
| 83 |
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> |
| 84 |
<LineContinue attribute="Preprocessor" context="Some Context2"/> |
| 85 |
<RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> |
| 86 |
<RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> |
| 87 |
<IncludeRules context="FindComments" /> |
| 88 |
</context> |
| 89 |
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context"/> |
| 90 |
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context2"/> |
| 91 |
<context attribute="Normal Text" lineEndContext="#stay" name="Some Context3"> |
| 92 |
<DetectSpaces /> |
| 93 |
<IncludeRules context="##Comments" /> |
| 94 |
<StringDetect attribute="Comment" context="#pop" String="#endif" column="0"/> |
| 95 |
</context> |
| 96 |
</contexts> |
| 97 |
<itemDatas> |
| 98 |
<itemData name="Normal Text" defStyleNum="dsNormal"/> |
| 99 |
<itemData name="Keyword" defStyleNum="dsKeyword"/> |
| 100 |
<itemData name="Data Type" defStyleNum="dsDataType"/> |
| 101 |
<itemData name="Octal" defStyleNum="dsBaseN"/> |
| 102 |
<itemData name="Hex" defStyleNum="dsBaseN"/> |
| 103 |
<itemData name="Char" defStyleNum="dsChar"/> |
| 104 |
<itemData name="String" defStyleNum="dsString"/> |
| 105 |
<itemData name="String Char" defStyleNum="dsChar"/> |
| 106 |
<itemData name="Comment" defStyleNum="dsComment"/> |
| 107 |
<itemData name="Symbol" defStyleNum="dsOperator"/> |
| 108 |
<itemData name="Preprocessor" defStyleNum="dsOthers"/> |
| 109 |
<itemData name="Prep. Lib" defStyleNum="dsOthers"/> |
| 110 |
</itemDatas> |
| 111 |
</highlighting> |
| 112 |
<general> |
| 113 |
<comments> |
| 114 |
<comment name="singleLine" start="//" /> |
| 115 |
<comment name="multiLine" start="/*" end="*/" region="Comment" /> |
| 116 |
</comments> |
| 117 |
<keywords casesensitive="1" /> |
| 118 |
</general> |
| 119 |
</language> |
| 120 |
<!-- kate: replace-tabs on; tab-width 2; indent-width 2; --> |