PreviousNextTracker indexSee it online !

(108/207) 2667495 - Complete I/O operations while searching

I'm doing some rather time-consuming directory searches using the "HyperSearch" feature, and I'd like to be able to work in jEdit in the meantime. But while the search is going on, jEdit won't save, open or change buffers. I guess this is technically hard to do, but it would be very nice.

Submitted engmark - 2009-03-06 - 08:38:59z Assigned nobody
Priority 5 Category Edit mode
Status Open Group None
Resolution None Visibility No


2009-03-10 - 22:14:26z
This is caused by the strange way in which jEdit handles threading. Tasks that are deferred to the AWT thread in jEdit always wait for all background tasks to complete first. So while hypersearch is running (as a background task), all deferred AWT tasks, such as the task that runs after a buffer is loaded, must wait.

As a small tip, unrelated to the feature request itself - there's GlobalPlugin which is an interface to the GNU Global tool. While this tool's main purpose is to provide tagging capabilities, it is also quite good for searching (like 'grep' more or less, but using the list of files from it database). I use it instead of the hypersearch now, and since the plugin doesn't use the jEdit threading interface, it runs in the background without interfering with jEdit tasks, so you can easily open buffers while searching.