Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 284306

Summary: Excessive truncation in XPath view result sheet
Product: [WebTools] WTP Source Editing Reporter: Nitin Dahyabhai <thatnitind>
Component: wst.xpathAssignee: David Carver <d_a_carver>
Status: RESOLVED FIXED QA Contact: David Carver <d_a_carver>
Severity: normal    
Priority: P2 Keywords: helpwanted
Version: 3.1   
Target Milestone: 3.2 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Nitin Dahyabhai CLA 2009-07-22 13:30:50 EDT
The XPath view's results are truncated at about 23 characters on each line.  It should only limit itself to the end of the matching line (if needed) and let the control itself handle the rest.
Comment 1 David Carver CLA 2009-08-22 23:33:28 EDT
Upping priority since it is a bug.
Comment 2 David Carver CLA 2009-08-23 16:45:21 EDT
This was cutting attribute names off at about 15 characters.  I have removed the truncation, everything else should be handled by the control.  Looked at how the XML Outline view was handling it as an example.

Fix checked into head.  Any idea how to write a unit test for this since it on a JfaceNodeLabelProvider method?