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

Bug 365789

Summary: [find/replace] Reverse Incremental Find from very end-of-document broken
Product: [Eclipse Project] Platform Reporter: rlee <vosbert>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, remy.suen
Version: 3.0   
Target Milestone: 3.8 M5   
Hardware: All   
OS: All   
Whiteboard:

Description rlee CLA 2011-12-06 13:58:35 EST
Build Identifier: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.cpp.product)


Reverse Incremental Search is broken from the very end of a document.  From anywhere else, (such as one line above the very end), the search works just fine.

-- Configuration Details --
Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK

Reproducible: Always

Steps to Reproduce:
1) Use eclipse and open up any source file.
2) Hit ctrl-end to move to end of document.
3) ctrl-shift-j for reverse incremental find and search for something that clearly exists.  (search for something directly above in the same screen)

Result:  reverse incremental find will claim it does not exist.

Workaround
4) Move up a single line
5) ctrl-shift-j and that same search will work.
Comment 1 Remy Suen CLA 2011-12-08 16:52:34 EST
Does this work for regular .txt files?
Comment 2 Dani Megert CLA 2011-12-09 04:21:59 EST
Broken since 3.0.
Fixed in master: 449fac0b6bca86cb839deb57f948dbb3b1cccb50