Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 477995 - [search][refs] Multiple search results on same line are confusing
Summary: [search][refs] Multiple search results on same line are confusing
Status: RESOLVED DUPLICATE of bug 480332
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 10.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 471947
  Show dependency tree
 
Reported: 2015-09-21 16:30 EDT by Michael Rennie CLA
Modified: 2015-10-21 14:02 EDT (History)
1 user (show)

See Also:


Attachments
Example of the problem (50.37 KB, image/png)
2015-09-21 16:30 EDT, Michael Rennie CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2015-09-21 16:30:26 EDT
Created attachment 256727 [details]
Example of the problem

Consider the following snippet:

/** ff in a comment */function f(){} function g() {return {ff: f}} g().ff();

If you place the caret in 'ff' in the last g().ff() call expression and use the References > Project command, you get results similar to the attached screenshot (for the file containing the above snippet).

The problem is:
1. all of the matches are marked for each entry
2. clicking on any of the entries only ever selects 'ff' in the comment

I would expect each entry to only bold the specific match, and that each one would link to a specific match (not just the first one).
Comment 1 Michael Rennie CLA 2015-10-19 15:55:21 EDT
The new grouped view is working as expected, but the file layout is still messed up, with each line still showing all matches highlighted, instead of just the one the match is referring to.
Comment 2 libing wang CLA 2015-10-21 14:02:08 EDT
bug 480332 has fix approach.

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