|
From: <no...@so...> - 2002-01-26 03:59:19
|
Bugs item #508782, was opened at 2002-01-25 19:59 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=438935&aid=508782&group_id=44253 Category: Definitions (source editor) Group: None Status: Open Resolution: None Priority: 5 Submitted By: Robert Cartwright (rcartwright) Assigned to: Nobody/Anonymous (nobody) Summary: find/replace is broken Initial Comment: In the latest build (drjava-20020124-1707.jar) under Sun JDK 1.3.1_01 on Linux 7.1, the find/replace command hangs after a blank pop-up window comes up. Under Sun JDK 1.4 Beta, the find/replace window comes up, and the buttons in the window do roughly the right thing with the following bugs: 1. Replace moves the focus back to the beginning of the file instead of leaving it over the replaced item. 2. Replace&FindNext moves the focus back to the beginning of the file. I don't know where the cursor is after executing the command because I can't see (the scroll bar is locked), but repeatedly hitting this button skips over some occurrences of the search key. When the end-of-file is reached and wrap around is offerred, wrap around does not always occur. In addition, wrap around is not always offered the first time end-of-file is reached. I am attaching the file in which I encountered these problems. Try replacing each occurence of ConvForm by Convert (but not by using the ReplaceAll command which I consider too dangerous because of false matches) by Finding the first occurrence and then using Replace/FindNext. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=438935&aid=508782&group_id=44253 |