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

Bug 374445

Summary: [Search]Global search and find&replace should handle mixed line endings.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon, Silenio_Quarti
Version: 0.4   
Target Milestone: 0.5 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2012-03-15 16:57:41 EDT
orion.searchUtils.searchWithinFile is used in both global search and find&replace and assumes that all the file contents does not include mixed endings. We should have a util function to handle mixed ending and split the file content into proper lines.
Comment 1 libing wang CLA 2012-03-15 16:59:35 EDT
If you use find&replace feature in annotation.js that includes mixed endings, the all occurrence marks do not fit properly.