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 29767 - Line numbering does not correlate with DIFF ADD/REMOVE/CHANGE
Summary: Line numbering does not correlate with DIFF ADD/REMOVE/CHANGE
Status: VERIFIED DUPLICATE of bug 22481
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC OS/2
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-03 08:04 UTC by _ gtzabari
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of top of diff (211.86 KB, image/jpeg)
2003-01-03 08:09 UTC, _ gtzabari
Details
Screenshot of bottom of diff (232.27 KB, image/jpeg)
2003-01-03 08:10 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2003-01-03 08:04:44 UTC
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.
Comment 1 _ gtzabari 2003-01-03 08:08:42 UTC
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.
Comment 2 _ gtzabari 2003-01-03 08:09:22 UTC
Created attachment 8423 [details]
Screenshot of top of diff
Comment 3 _ gtzabari 2003-01-03 08:10:13 UTC
Created attachment 8424 [details]
Screenshot of bottom of diff
Comment 4 Jiri Kovalsky 2003-01-03 08:46:57 UTC
Hm, I think that problem of incorrect line numbers is known. Didn't
you customize editor fonts ?
Comment 5 dmladek 2003-01-03 10:52:32 UTC
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:-)
Comment 6 Martin Entlicher 2003-01-03 14:47:54 UTC
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 ***
Comment 7 Jiri Kovalsky 2003-01-03 15:00:04 UTC
Okay, I agree and hope that Gili will add new usefull observations to
issue #22481.