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 80899 - "Go To" from Source view does not work properly.
Summary: "Go To" from Source view does not work properly.
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: XDM (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-23 00:44 UTC by htt
Modified: 2006-08-22 18:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description htt 2006-07-23 00:44:22 UTC
Open a new schema.  
In Schema view, add element A.
In Design view, add element B.
In Source view, 
+ right-click A and select Go To Schema -> in Schema view, B is highlighted.
+ right-click A and select Go To Design -> in Design view, B is highlighted.
+ right-click B and select Go To Schema -> in Schema view, Elements is collapsed
(i.e. neither A nor B is in view) and the NS mode is highlighted instead.
+ right-click B and select Go To Design -> in Design view, neither A nor B is
highlighted.
Comment 1 bhate 2006-07-25 00:35:22 UTC
when a new element is added, we add pretty print tokens. These tokens messup
position finding.
The fix is to use default tokens for indentation.
the fix is checked into xdm module and in release55 branch.
It will not be available in beta.
To verify get the daily build of netbeans release55 + entpack daily build.
Comment 2 htt 2006-08-22 18:16:13 UTC
Verified in trunk build 060821.