PreviousNextTracker indexSee it online !

(98/212) 272 - 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:59 Assigned
Priority 5 Labels Edit mode
Status open Group None
Resolution None

Comments

2009-03-10 22:14:26
*anonymous

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.