summaryrefslogtreecommitdiffstats
path: root/kate/data/java.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kate/data/java.xml')
-rw-r--r--kate/data/java.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/kate/data/java.xml b/kate/data/java.xml
index 94f793782..418a3fa42 100644
--- a/kate/data/java.xml
+++ b/kate/data/java.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="Java" version="1.20" kateversion="2.4" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
+<language name="Java" version="1.22" kateversion="2.5" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">
<highlighting>
<list name="java15">
<item> ACTIVE </item>
@@ -142,7 +142,6 @@
<item> AncestorListener </item>
<item> AnnotatedElement </item>
<item> Annotation </item>
- <item> Annotation </item>
<item> AnnotationFormatError </item>
<item> AnnotationTypeMismatchException </item>
<item> Any </item>
@@ -3783,6 +3782,7 @@
<RegExpr attribute="Keyword" context="StaticImports" String="\b(import\s+static)\b" />
<RegExpr attribute="Keyword" context="Imports" String="\b(package|import)\b" />
<RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*(/\*\s*\d+\s*\*/\s*)?[(])" />
+ <RegExpr attribute="Annotation" context="#stay" String="@[_\w][_\w\d]*" />
<RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" />
<DetectChar attribute="Symbol" context="InFunctionCall" char="("/>
<AnyChar attribute="Symbol" context="#stay" String=":!%&amp;+,-/.*&lt;=&gt;?[]|~^&#59;"/>
@@ -3830,6 +3830,7 @@
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
+ <itemData name="Annotation" defStyleNum="dsFunction"/>
<itemData name="Function" defStyleNum="dsFunction"/>
<itemData name="StaticImports" defStyleNum="dsKeyword" color="#800080" selColor="#FFFFFF" bold="0" italic="0"/>
<itemData name="Imports" defStyleNum="dsKeyword" color="#808000" selColor="#FFFFFF" bold="0" italic="0"/>