Running Refactoring Tool Blocks Incremental Search

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Running Refactoring Tool Blocks Incremental Search

Runar Jordahl
If you run a refactoring tool (like Rewite) in 7.4 and then try to
open one of the incremental search tools (like Transcript
Browse->Implementors of Selector), the incremental search does not
complete until the refactoring tools has finished doing its task.

The reason why we get the problem is that
BackgroundSearchDriver>>startSearchProcess forks of the incremental
search at priority 30 (Processor userBackgroundPriority).
SmalllintCodeTool>>runRule: uses priority 50 (Processor
activePriority).

It seems like both processes yields, so setting the same priority on
both should work excellent. My suggesting is to change the last line
of SmalllintCodeTool>>runRule: to:

forkAt: Processor userBackgroundPriority

Cincom, please consider including this fix in the next release!

Runar Jordahl