This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 228888 - Incorrect occurrences highlighting on field annotation within groovy script
Summary: Incorrect occurrences highlighting on field annotation within groovy script
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 11:36 UTC by Martin Janicek
Modified: 2013-04-23 11:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Janicek 2013-04-23 11:36:01 UTC
In the following groovy script, put the caret location on Field (either to the import statement or to the field declaration annotation)

package javaapplication4

import groovy.transform.Field

@Field String stringField = 'I am typed with @Field.'


Expected: Two occurrences highlighted
Actual:   Either one or something totally different is highlighted