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

Bug 374906

Summary: No search hit annotations when searching in .txt file
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: libingw, Silenio_Quarti
Version: 0.5   
Target Milestone: 0.5 M1   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Mark Macdonald CLA 2012-03-21 10:17:02 EDT
Created attachment 212999 [details]
screenshot

Orion I20120320-2230

1. Create a new file called test.txt
2. Type in some text
3. Press Ctrl+F and search for something that has several matches.
4. The matches are not highlighted with annotations. However I can see the match locations displayed in the overview ruler.
Comment 2 libing wang CLA 2012-03-21 13:47:25 EDT
I tested on a .txt file with contents like this:
foo bar foo foo foo 
bar foo bar

I typed "foo" in the search box. The ruler has all the 5 occurrences but the editor only shows 2.

Same contents behave correctly in .js file.
Comment 3 Silenio Quarti CLA 2012-03-21 15:35:50 EDT
Please try again. It should be good now.

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=616e5d4ac76665c034b5f05b972d2e33f8483b0a
Comment 4 libing wang CLA 2012-03-21 16:42:26 EDT
yes, fixed.