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

Bug 360969

Summary: [Search]Match number ignores multiple matches in a single line.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi, susan
Version: 0.3   
Target Milestone: 0.4 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.