diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data/idl.xml | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/idl.xml')
-rw-r--r-- | kate/data/idl.xml | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/kate/data/idl.xml b/kate/data/idl.xml new file mode 100644 index 000000000..d75f6713a --- /dev/null +++ b/kate/data/idl.xml @@ -0,0 +1,116 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="IDL" version="1.07" kateversion="2.4" 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="""/> + <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="!%&()+,-<=>?[]^{|}~"/> + <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="""/> + </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=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <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> |