Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360969 - [Search]Match number ignores multiple matches in a single line.
Summary: [Search]Match number ignores multiple matches in a single line.
Status: CLOSED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M1   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 09:49 EDT by libing wang CLA
Modified: 2011-11-01 16:56 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description libing wang CLA 2011-10-14 09:49:26 EDT
Tested on 0.3RC2.
Global search result gives number of matches per file when you expand it.
But the total number of matches is not accurate when there are multiple matches in one line.
E.g. : if you search on "textview" in /orion/textview/rulers.js , the search result tells you 63 matches. 
But if you open that file and "replace all" with the same key word , it tells you 67 matches were replace, which is correct.
Comment 1 libing wang CLA 2011-11-01 16:55:35 EDT
fixed with 3d2743546b369d25f71e732c8ac54ab65604b44b.
Comment 2 libing wang CLA 2011-11-01 16:56:13 EDT
verified with the latest code.