author | jowenn <jowenn> | 2002-11-10 21:46:17 (UTC) |
---|---|---|
committer | jowenn <jowenn> | 2002-11-10 21:46:17 (UTC) |
commit | 846ab99d6f52efaf3b2cc98231fe5fc985878516 (patch) (side-by-side diff) | |
tree | ba698f2930b15eb279ca25928a91f17991f174ba /share/tinykate/syntax/cpp.xml | |
parent | cd9469a0814a8ac393fad621d426c4f97038c4d6 (diff) | |
download | opie-846ab99d6f52efaf3b2cc98231fe5fc985878516.zip opie-846ab99d6f52efaf3b2cc98231fe5fc985878516.tar.gz opie-846ab99d6f52efaf3b2cc98231fe5fc985878516.tar.bz2 |
test highlighting file
Diffstat (limited to 'share/tinykate/syntax/cpp.xml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | share/tinykate/syntax/cpp.xml | 188 |
1 files changed, 188 insertions, 0 deletions
diff --git a/share/tinykate/syntax/cpp.xml b/share/tinykate/syntax/cpp.xml new file mode 100644 index 0000000..889457c --- a/dev/null +++ b/share/tinykate/syntax/cpp.xml @@ -0,0 +1,188 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="C++" section="Sources" extensions="*.cxx;*.cpp;*.cc;*.C;*.h" mimetype="text/x-c++-src;text/x-c++-hdr;text/x-c-hdr;text/x-c++-src"> + <highlighting> + <list name="keywords"> + <item> class </item> + <item> false </item> + <item> friend </item> + <item> inline </item> + <item> namespace </item> + <item> new </item> + <item> delete </item> + <item> operator </item> + <item> private </item> + <item> protected </item> + <item> public </item> + <item> reinterpret_cast </item> + <item> static_cast </item> + <item> dynamic_cast</item> + <item> template </item> + <item> this </item> + <item> throw </item> + <item> true </item> + <item> try </item> + <item> typeid </item> + <item> typename </item> + <item> using </item> + <item> virtual </item> + <item> and_eq </item> + <item> and </item> + <item> bitand </item> + <item> bitor </item> + <item> compl </item> + <item> not_eq </item> + <item> not </item> + <item> or_eq </item> + <item> or </item> + <item> xor_eq </item> + <item> xor </item> + <item> bad_cast </item> + <item> bad_typeid </item> + <item> except </item> + <item> finally </item> + <item> type_info </item> + <item> xalloc </item> + <item> Q_EXPORT </item> + <item> Q_OBJECT </item> + <item> K_DCOP </item> + <item> SLOT </item> + <item> SIGNAL </item> + <item> slots </item> + <item> signals </item> + <item> Q_PROPERTY </item> + <item> Q_ENUMS </item> + <item> Q_SETS </item> + <item> Q_OVERRIDE </item> + <item> Q_CLASSINFO </item> + <item> TRUE </item> + <item> FALSE </item> + <item> break </item> + <item> case </item> + <item> continue </item> + <item> default </item> + <item> do </item> + <item> else </item> + <item> enum </item> + <item> extern </item> + <item> for </item> + <item> goto </item> + <item> if </item> + <item> return </item> + <item> sizeof </item> + <item> struct </item> + <item> switch </item> + <item> typedef </item> + <item> union </item> + <item> while </item> + <item> connect </item> + </list> + <list name="types"> + <item> bool </item> + <item> wchar_t </item> + <item> mutable </item> + <item> uint </item> + <item> auto </item> + <item> char </item> + <item> const </item> + <item> double </item> + <item> float </item> + <item> int </item> + <item> long </item> + <item> register </item> + <item> short </item> + <item> signed </item> + <item> static </item> + <item> unsigned </item> + <item> void </item> + <item> volatile </item> + <item> int16_t </item> + <item> int32_t </item> + <item> int8_t </item> + <item> int64_t </item> + <item> uint16_t </item> + <item> uint32_t </item> + <item> uint8_t </item> + <item> uint64_t </item> + </list> + <contexts> + <context attribute="0" lineEndContext="0" name="Normal"> + <keyword attribute="1" context="0" String="keywords" /> + <keyword attribute="2" context="0" String="types" /> + <Float attribute="6" context="0"> + <AnyChar String="fF" attribute="6" context="0"/> + </Float> + <HlCOct attribute="4" context="0"/> + <HlCHex attribute="5" context="0"/> + <Int attribute="3" context="0" > + <StringDetect attribute="3" context="0" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="3" context="0" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="3" context="0" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="3" context="0" String="UL" insensitive="TRUE"/> + <StringDetect attribute="3" context="0" String="LU" insensitive="TRUE"/> + <StringDetect attribute="3" context="0" String="LL" insensitive="TRUE"/> + <StringDetect attribute="3" context="0" String="U" insensitive="TRUE"/> + <StringDetect attribute="3" context="0" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="7" context="0"/> + <DetectChar attribute="8" context="1" char="""/> + <Detect2Chars attribute="10" context="2" char="/" char1="/"/> + <Detect2Chars attribute="10" context="3" char="/" char1="*"/> + <AnyChar attribute="11" context="0" String="!%&()+,-<=>?[]^{|}~"/> + <StringDetect attribute="10" context="8" String="#if 0" insensitive="FALSE"/> + <RegExpr attribute="12" context="4" String="^#"/> + </context> + <context attribute="8" lineEndContext="0" name="String"> + <LineContinue attribute="8" context="6"/> + <HlCStringChar attribute="9" context="1"/> + <DetectChar attribute="8" context="0" char="""/> + </context> + <context attribute="10" lineEndContext="0" name="Commentar 1"> + <RegExpr attribute="3" context="2" String="(FIXME|TODO)" /> + </context> + <context attribute="10" lineEndContext="3" name="Commentar 2"> + <RegExpr attribute="3" context="3" String="(FIXME|TODO)" /> + <Detect2Chars attribute="10" context="0" char="*" char1="/"/> + </context> + <context attribute="12" lineEndContext="0" name="Preprocessor"> + <LineContinue attribute="12" context="7"/> + <RangeDetect attribute="13" context="4" char=""" char1="""/> + <RangeDetect attribute="13" context="4" char="<" char1=">"/> + <Detect2Chars attribute="10" context="2" char="/" char1="/"/> + <Detect2Chars attribute="10" context="5" char="/" char1="*"/> + </context> + <context attribute="10" lineEndContext="5" name="Commentar/Preprocessor"> + <Detect2Chars attribute="10" context="4" char="*" char1="/" /> + </context> + <context attribute="0" lineEndContext="1" name="Some Context"/> + <context attribute="0" lineEndContext="4" name="Some Context2"/> + <context attribute="10" lineEndContext="8"> + <RegExpr attribute="3" context="8" String="(FIXME|TODO)" /> + <RegExpr attribute="10" context="0" String="^#endif" /> + </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)); --> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> |