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.
[ BUILD # : 201003270201 ] [ JDK VERSION : 1.6.* ] See attached screenshots. The first shows a source file where line 21 was changed. The blue highlight is on line 23. The second screenshot shows the diff view of the same code. It appears to have to do with the fact that the font for the line numbers in the gutter does not line up with the font for the editor itself (which I have set to Lucida Sans Typewriter 10 point).
Created attachment 96104 [details] changed code in editor
Created attachment 96105 [details] changed code in diff view
This is actually a regression caused by recent changes in editor, reassigning back to editor.
This should be fixed by Mila's http://hg.netbeans.org/jet-main/rev/71f839ae7563 If it is still wron please reopen.
It is working for me. Build 100405-ba96ec22818f
Still seeing problems with 0406 build, see attached screenshot.
Created attachment 96759 [details] screenshot
Glen, any chance you have line wrap turned on in Options --> Editor --> Formatting --> Line Wrap? If I turn line wrap on I can see something similar to what you can see ...
No, line wrap is off. Does the fact that I switched from the default font to Lucida Typewriter have anything to do with it?
Althouth the behaviour regressed after Mila's rewrite (I added the status whiteboard for this) I would like to ask the vcs/diff guys to check it after consulting with Mila what APIs should be called to determine vertical positions in the editor. Thank a lot for helping us with this problem.
should be fixed (see bug 182810) *** This bug has been marked as a duplicate of bug 182810 ***