Bug 253218

Summary: Perameterless java annotations aren't highlighted
Product: [Applications] kate Reporter: Ondrej Skutka <oskutka>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.0
Attachments: annotations example
Adding highlighting for the annotations

Description Ondrej Skutka 2010-10-04 12:39:11 UTC
Created attachment 52213 [details]
annotations example

Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

Parameterless java annotations aren't highlighted, while parameterized annotations are highlighted.

Reproducible: Always




OS: Linux (i686) release 2.6.34.7-56.fc13.i686.PAE
Compiler: gcc
Comment 1 Vincent Ricard 2012-10-04 17:42:49 UTC
Created attachment 74339 [details]
Adding highlighting for the annotations

This patch:
- adds highlighting for the annotation (before kate detected the annotation as a function
- removes a duplicate entry for the 'Annotation' keyword
Comment 2 Dominik Haumann 2012-10-24 17:39:17 UTC
Git commit 82ec6065a5a13320f7c84f04230fb955cd8daf5d by Dominik Haumann.
Committed on 24/10/2012 at 19:36.
Pushed by dhaumann into branch 'master'.

fix java annotations

Patch by Vincent Ricard

M  +3    -2    part/syntax/data/java.xml

http://commits.kde.org/kate/82ec6065a5a13320f7c84f04230fb955cd8daf5d