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