Bug 213768

Summary: [xslt] XPath outline not synchronized with document
Product: [WebTools] WTP Source Editing Reporter: David Carver <d_a_carver>
Component: wst.xpathAssignee: Doug <doug.satchwell>
Status: RESOLVED FIXED QA Contact: David Williams <david_williams>
Severity: enhancement    
Priority: P1 CC: doug.satchwell, thatnitind
Version: unspecified   
Target Milestone: 3.1   
Hardware: PC   
OS: All   
Whiteboard:

Description David Carver CLA 2007-12-22 14:57:45 EST
From EclipseXSLT bug report:

Enhancement request:

it would be nice if the XPath query results view could
be synchronized with the document. Double-clicking
query result should open to relevant point in source
document.
Comment 1 Doug CLA 2008-04-30 12:21:45 EDT
Accept bug
Comment 2 Doug CLA 2008-04-30 12:22:40 EDT
The new xpath view is synchronized with the current document, and also reveals the selection in the editor on double-click.
Comment 3 David Carver CLA 2008-05-04 00:20:38 EDT
See bug 230075 for additional details, but the gist is that it is moving the cursor position when in the XML editor.   It should only move the cursor position, when the item is selected in the XPath Outline view, and not move it when in the editor.  Probably a listening problem between the view and the editor it looks like.

Comment 4 David Carver CLA 2008-05-04 00:21:12 EDT
Re-Opened and Reassigned to Doug since he made the original patch.
Comment 5 David Carver CLA 2008-05-04 00:22:31 EDT
And the original error was reported in bug 230057 not bug 230075.
Comment 6 Doug CLA 2008-05-04 04:55:35 EDT
Actually, I worked on this last night so its now fixed.
Comment 7 David Carver CLA 2008-06-05 09:19:46 EDT
Mass Migration to wtp.inc.xsl
Comment 8 David Carver CLA 2009-04-30 14:24:08 EDT
mass update to 3.1 target due to movement from wtp incubator to wtp source editing lost the original milestones.