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.
dev build 200301020100 IBM JDK 1.3.1 See screenshot, notice how the gaps in the line numbers do not correlate with actual change in the code. Furthermore, if you scroll to the bottom of the page the line numbers end (on both sides of the window!) before the code does. You can see this in screenshot #2.
As well, in screenshot #2 on the right side, notice how the closing bracket for setPeerGroup() has a empty line above it. If you look at the actual code, no line was added. This is a visual space which does not actually exist in the code.
Created attachment 8423 [details] Screenshot of top of diff
Created attachment 8424 [details] Screenshot of bottom of diff
Hm, I think that problem of incorrect line numbers is known. Didn't you customize editor fonts ?
That sounds strange :-( There used to be issue #9408 about exactly same problem: no-corresponding lines in diff (javacvs too) if you have change the editor fonts and colors, but it was fixed in NB3.3. So it is either REGRESION or some other problem. I can't reproduce it in current NB3.4dev build No.#2003-0102-100 But from your attached pictures is visible that lines of code has different size than lines with l.Numbers :-( So if you could send us your editor settings...We could easyly simulate your problem. You'll find your editor settings in: $USER_DIR/system/Editors Maybe having your source might help too, but we will ask later if it won't help. Also if you send us your ide.log it will be nice:-)
IMHO this is a duplicate of issue #22481. The problem reported in #9408 should be fixed, but the bug is caused by the Line Height Correction being different from 1. I'm resolving this as a duplicate, if you have Line Height Correction set to 1 and the problem still appears, please add the details into issue #22481. Thanks. *** This issue has been marked as a duplicate of 22481 ***
Okay, I agree and hope that Gili will add new usefull observations to issue #22481.