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 52820 - Errors coloring works incorrect. Wrong code underlined
Summary: Errors coloring works incorrect. Wrong code underlined
Status: VERIFIED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 11:38 UTC by Mikhail Kondratyev
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A sample of bad annotating (81.19 KB, image/jpeg)
2004-12-28 11:43 UTC, Mikhail Kondratyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kondratyev 2004-12-28 11:38:33 UTC
The underlining works incorrect.
IDE should underline the erroneous pieces of 
code, but actually underlining is done in the 
wrong place.
Steps to reproduce:
 - create a simple class
 - add something like System.out.printdfgdfgdfg() 
to the constructor.
 - IDE will not underline the code with error. 
Another place in the editor will be underlined 
instead.
Comment 1 Mikhail Kondratyev 2004-12-28 11:43:40 UTC
Created attachment 19416 [details]
A sample of bad annotating
Comment 2 Martin Roskanin 2005-01-05 09:17:39 UTC
Error underlining is implemented in java module. It seems the problem
could be there. Reassign back if I am wrong. Thanks.
Comment 3 Jan Becicka 2005-01-20 13:22:33 UTC
It is probably somehow related to russian encoding. What file encoding
do you use?
Comment 4 Marek Grummich 2005-02-11 16:27:55 UTC
Honzo, if you look at the screen.gif attachment in the issue #54730,
you can see error annotation is placed right,it works fine in ja locale.
Comment 5 Jan Becicka 2005-02-11 18:25:29 UTC
mikk, is this bugs still reproducible?
Comment 6 Tomas Hurka 2005-05-13 09:38:12 UTC
Closing as works-for-me. Please reopen if you have reproducible case. 
Comment 7 Mikhail Kondratyev 2006-08-29 10:27:25 UTC
Verified
Sorry for a delay :)