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

Bug 236619

Summary: Occurrences in File highlighting covers too much
Product: [WebTools] WTP Source Editing Reporter: Nick Sandonato <nsand.dev>
Component: wst.xmlAssignee: Ian Tewksbury <itewksbu>
Status: RESOLVED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
XML file the exhibits the behavior none

Description Nick Sandonato CLA 2008-06-11 09:22:09 EDT
Created attachment 104475 [details]
XML file the exhibits the behavior

Build ID: S-3.0RC4-20080610183902

Steps To Reproduce:
1. Open the attached file in the Source view of the XML editor
2. Select one of the <main> elements
3. Press Command+Shift+A (Ctrl+Shift+A on Windows)

Once the search completes, text other than just the element names will be highlighted. The search markers do show up in the correct positions.


More information:
Comment 1 Nitin Dahyabhai CLA 2008-07-07 21:22:41 EDT
Technically it's just not customizing the presentation of the search results.  The line's text is supposed to be shown for context, but we should be doing a better job of delineating the matching identifier from the surrounding text in the results.
Comment 2 Ian Tewksbury CLA 2009-08-13 16:49:45 EDT
While not strictly a dup of Bug 286274, this bug will be fixed by the fix for Bug 286274.

*** This bug has been marked as a duplicate of bug 286274 ***