Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 236619 - Occurrences in File highlighting covers too much
Summary: Occurrences in File highlighting covers too much
Status: RESOLVED DUPLICATE of bug 286274
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 3.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ian Tewksbury CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 09:22 EDT by Nick Sandonato CLA
Modified: 2009-08-13 16:49 EDT (History)
0 users

See Also:


Attachments
XML file the exhibits the behavior (151 bytes, text/xml)
2008-06-11 09:22 EDT, Nick Sandonato CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***