Send search results to the same window?

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
chris

Send search results to the same window?

Post by chris »

Hi all,

Is there a way to have the output of Find In Files (fgrep) sent to the same window each time, instead of always opening new windows? I use it a lot and I much prefer having all my search results in the same place, so I can refer back to old searches easily and so I don't have to move and resize every new window it throws up.

thanks, Chris
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Chris,
Is there a way to have the output of Find In Files (fgrep) sent to the same window each time.
Unfortunately there is no way to achieve this. The reason is Zeus allows you to run any number of concurrent searches. For example assume you are running a long search. While this search is running you can start any number of additional searches and they will all run concurrently.

Compare this to the single output search option found in something like MSVC IDE for example. With this serialised search model the additional searches can not be started until the first search is complete.
I use it a lot and I much prefer having all my search results in the same place, so I can refer back to old searches easily and so I don't have to move and resize every new window it throws up.

I will look to add an a new option to the Find in Files dialog. This woul allow Zeus to search in either the concurrent or serial search modes.

Cheers Jussi
Guest

Post by Guest »

I will look to add an a new option to the Find in Files dialog. This woul allow Zeus to search in either the concurrent or serial search modes.
That would be a nice option to have - thanks Jussi. :)

cheers, Chris
chris

Post by chris »

On a related note, when the Find In Files dialog comes up, would it be possible to have the current selection pasted into the "Find what" field automatically? I guess there might be a way to do this with a macro but it would be a nice touch :)

cheers, Chris
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

I will also add this feature to the todo list :)

In the mean time if you use $W as the search string, this Zeus macro tag will substitute for the current word from the currently active document. Alternatively you can use $WEX which substitutes for the current marked text or the current word if no markings exist.

These and many more Zeus macro tags (see Zeus online help for details) work in nearly all of the Zeus edit fields.

Cheers Jussi
chris

Post by chris »

Aha! $wex does it perfectly, thanks Jussi.
Post Reply