summaryrefslogtreecommitdiffstats
path: root/kate/data/javadoc.xml
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data/javadoc.xml
downloadtdelibs-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/javadoc.xml')
-rw-r--r--kate/data/javadoc.xml107
1 files changed, 107 insertions, 0 deletions
diff --git a/kate/data/javadoc.xml b/kate/data/javadoc.xml
new file mode 100644
index 000000000..5a89247c4
--- /dev/null
+++ b/kate/data/javadoc.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="Javadoc" version="1.03" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
+ <highlighting>
+ <contexts>
+ <context name="Start" attribute="Normal Text" lineEndContext="#stay">
+ <IncludeRules context="FindJavadoc" />
+ </context>
+ <context name="FindJavadoc" attribute="Normal Text" lineEndContext="#stay">
+ <StringDetect attribute="JavadocFS" context="JavadocFSar" String="/**" beginRegion="Javadoc"/>
+ </context>
+ <context attribute="JavadocFS" lineEndContext="#stay" name="JavadocFSar">
+ <Detect2Chars attribute="JavadocFS" context="#pop" char="*" char1="/" endRegion="Javadoc"/>
+ <RegExpr attribute="JavadocFS" context="Javadocar" String="(!|\?)" />
+ <RegExpr attribute="JavadocFS" context="Javadocar" String="(\.\s*$)" />
+ <RegExpr attribute="JavadocFS" context="Javadocar" String="(\.\s)(?![\da-z])" />
+ <RegExpr attribute="JavadocFS" context="Javadocar" String="\**\s*(?=@(author|deprecated|exception|param|return|see|serial|serialData|serialField|since|throws|version)(\s|$))" firstNonSpace="true"/>
+ <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code " />
+ <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code&#009;" />
+ <StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}" />
+ <StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}" />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link " />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link&#009;" />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain " />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain&#009;" />
+ <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal " />
+ <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal&#009;" />
+ <StringDetect attribute="InlineTag" context="#stay" String="{@value}" />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value " />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value&#009;" />
+ <IncludeRules context="##HTML"/>
+ </context>
+ <context attribute="Javadoc" lineEndContext="#stay" name="Javadocar">
+ <Detect2Chars attribute="JavadocFS" context="#pop#pop" char="*" char1="/" endRegion="Javadoc"/>
+ <RegExpr attribute="JavadocFS" context="#stay" String="\*+(?!/)" firstNonSpace="true"/>
+ <StringDetect attribute="BlockTag" context="#stay" String="@author " />
+ <StringDetect attribute="BlockTag" context="#stay" String="@deprecated " />
+ <StringDetect attribute="BlockTag" context="JavadocParam" String="@exception " />
+ <StringDetect attribute="BlockTag" context="JavadocParam" String="@param " />
+ <StringDetect attribute="BlockTag" context="#stay" String="@return " />
+ <StringDetect attribute="BlockTag" context="SeeTag" String="@see "/>
+ <StringDetect attribute="BlockTag" context="#stay" String="@serial " />
+ <StringDetect attribute="BlockTag" context="#stay" String="@serialData " />
+ <StringDetect attribute="BlockTag" context="#stay" String="@serialField " />
+ <StringDetect attribute="BlockTag" context="#stay" String="@since " />
+ <StringDetect attribute="BlockTag" context="JavadocParam" String="@throws " />
+ <StringDetect attribute="BlockTag" context="#stay" String="@version " />
+ <StringDetect attribute="BlockTag" context="#stay" String="@author&#009;" />
+ <StringDetect attribute="BlockTag" context="#stay" String="@deprecated&#009;" />
+ <StringDetect attribute="BlockTag" context="JavadocParam" String="@exception&#009;" />
+ <StringDetect attribute="BlockTag" context="JavadocParam" String="@param&#009;" />
+ <StringDetect attribute="BlockTag" context="#stay" String="@return&#009;" />
+ <StringDetect attribute="BlockTag" context="SeeTag" String="@see&#009;" />
+ <StringDetect attribute="BlockTag" context="#stay" String="@serial&#009;" />
+ <StringDetect attribute="BlockTag" context="#stay" String="@serialData&#009;" />
+ <StringDetect attribute="BlockTag" context="#stay" String="@serialField&#009;" />
+ <StringDetect attribute="BlockTag" context="#stay" String="@since&#009;" />
+ <StringDetect attribute="BlockTag" context="JavadocParam" String="@throws&#009;" />
+ <StringDetect attribute="BlockTag" context="#stay" String="@version&#009;" />
+ <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code " />
+ <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code&#009;" />
+ <StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}" />
+ <StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}" />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link " />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link&#009;" />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain " />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain&#009;" />
+ <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal " />
+ <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal&#009;" />
+ <StringDetect attribute="InlineTag" context="#stay" String="{@value}" />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value " />
+ <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value&#009;" />
+ <IncludeRules context="##HTML"/>
+ </context>
+ <context attribute="Javadoc" lineEndContext="#pop" name="JavadocParam">
+ <DetectSpaces />
+ <RegExpr attribute="JavadocParam" context="#pop#pop" String="\S*(?=\*/)" />
+ <RegExpr attribute="JavadocParam" context="#pop" String="\S*(\s|$)" />
+ </context>
+ <context attribute="InlineTag" lineEndContext="#pop" name="InlineTagar">
+ <DetectChar attribute="InlineTag" context="#pop" char="}" />
+ <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
+ <IncludeRules context="##HTML"/>
+ </context>
+ <context attribute="InlineTag" lineEndContext="#pop" name="LiteralTagar">
+ <DetectChar attribute="InlineTag" context="#pop" char="}" />
+ <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
+ </context>
+ <context attribute="SeeTag" lineEndContext="#pop" name="SeeTag">
+ <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" />
+ <IncludeRules context="##HTML"/>
+ </context>
+ </contexts>
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal"/>
+ <itemData name="BlockTag" defStyleNum="dsKeyword" color="#808080" selColor="#FFFFFF" bold="1" italic="0"/>
+ <itemData name="InlineTag" defStyleNum="dsKeyword" color="#808080" selColor="#FFFFFF" bold="0" italic="0"/>
+ <itemData name="JavadocParam" defStyleNum="dsKeyword" color="#008080" selColor="#FFFFFF" bold="0" italic="1"/>
+ <itemData name="SeeTag" defStyleNum="dsKeyword" color="#008080" selColor="#FFFFFF" bold="0" italic="1"/>
+ <itemData name="JavadocFS" defStyleNum="dsComment" color="#008000" selColor="#FFFFFF" bold="1" italic="0"/>
+ <itemData name="Javadoc" defStyleNum="dsComment" color="#008000" selColor="#FFFFFF"/>
+ </itemDatas>
+ </highlighting>
+ <general>
+ <keywords casesensitive="1"/>
+ </general>
+</language>