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 202598 - Fails to Highlight All println/print Methods
Summary: Fails to Highlight All println/print Methods
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.1
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-24 00:11 UTC by MackSix
Modified: 2011-09-26 07:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Only highlights 2 out of 9 prinntln methods. (24.93 KB, image/png)
2011-09-24 00:11 UTC, MackSix
Details
Only highlights 2 out of 3 print methods. (40.14 KB, image/png)
2011-09-24 00:13 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-09-24 00:11:39 UTC
Created attachment 111125 [details]
Only highlights 2 out of 9 prinntln methods.

I just noticed that if I put the cursor on a println or print methods in the editor, that in some cases it will not highlight all of them.

See screenshots.

Product Version: NetBeans IDE 7.1 Beta (Build 201109222201)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 1 MackSix 2011-09-24 00:13:02 UTC
Created attachment 111126 [details]
Only highlights 2 out of 3 print methods.

See screenshot.
Comment 2 Jan Lahoda 2011-09-26 07:07:29 UTC
This is as designed: the mark occurrences feature marks the occurrences of the given element, which includes specific method overloads. On the first screenshot, only occurrences of PrintStream.println(String) are marked, the other method invocations invoke PrintStream.println(int) and PrintStream.println(Object).

Thanks for the report anyway.