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

Summary: "Go To" from Source view does not work properly.
Product: xml Reporter: htt <htt>
Component: XDMAssignee: bhate <bhate>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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.