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

Bug 406038

Summary: Incremental find not working correctly
Product: [ECD] Orion Reporter: Ken Walker <ken_walker>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 3.0 M2   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Ken Walker CLA 2013-04-18 21:17:59 EDT
Create a file with the following contents and put your cursor at pos 1 col 1

Testing 1 2 3
Testing 1 2 3
Testing 1 2 3

The press Ctrl-J (Cmd-J Mac) to start incremental find.

Type t, you match the 2nd t in the first Testing 1 2 3
Type e, you match the Te in the second line Testing 1 2 3
Type s, you match the Tes in the third line Testing 1 2 3

It seems to be matching ahead vs where you are.
Comment 1 Silenio Quarti CLA 2013-04-19 11:11:57 EDT
When typing the string search, incremental find needs to start looking at the selection start. When the shortcuts (Ctrl+J, ArrowUp, ArrowDown) are hit, incremental find needs to start looking one offset ahead of the selection start (expect when incremental find is activated).

Fixed

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=668ab7b52827e81357323938b45dcc11f4c010de