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

Bug 492626

Summary: GVT 46 - Failed to find the strings before the cursor location on Incremental find function
Product: [ECD] Orion Reporter: julia wu <wujulia>
Component: EditorAssignee: libing wang <libingw>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: kitlo, kqli, libingw, sharonc, wujulia, yxiaobo
Version: 12.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Incremental find function none

Description julia wu CLA 2016-04-28 03:10:40 EDT
Created attachment 261325 [details]
Incremental find function

Build ID: Orion 12
Browser: IE v.11 & Firefox v.45

Steps to reproduce:
1. New a file
2. Input some strings, such as "hello!!!"
3. Put the cursor on the end of content
4. Click Ctrl+J > type "hello"

Problem Description:
If the cursor placed on the top of content, then the string can be found.
Incremental find function can only find the strings after the cursor.
It can't find the string before the cursor. 
Which means incremental find function only work when the cursor must placed in the first line.
The definition of incremental find function supposed support the whole content searching, no matter where the cursor placed.
Comment 1 libing wang CLA 2016-05-04 16:00:21 EDT
If you have " hello  hello" as text and put your cursor at the beginning of the text, and use CTRL+J it will find the first "hello", you need to press CTRL+K to find the next.
Similarly, you have to use CTRL+K to find next when it reaches the end.
Comment 2 libing wang CLA 2016-05-04 16:00:32 EDT
Work as designed.
Comment 3 Sharp Yang CLA 2016-05-10 01:53:07 EDT
Verified, it work as designed.