"Find in Open Files" and "Find in Project Fil

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
Rat
Posts: 68
Joined: Wed Jun 15, 2011 1:18 am

"Find in Open Files" and "Find in Project Fil

Post by Rat »

Does Zeus have a "Find in Open Files" and "Find in Project Files" option somewhere?
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Does Zeus have a "Find in Open Files" and "Find in Project Files" option somewhere?
No. There is only a Replace in Open Files option in the replace dialog.

Having said that, you could get the list of files using the get_window_count, get_window_id, get_window_name macro functions.

The project file information can also be got at via a script using the projects, project_files macro functions. There is already a projects.lua macro that shows how to uses these functions.

So with a list of files it should be easy enough to write some additional macro code that runs xfgrep.exe to do the file searching and have the results show up in a tool window, not unlike the current Find in Files menu.

Cheers Jussi
Rat
Posts: 68
Joined: Wed Jun 15, 2011 1:18 am

Post by Rat »

Sounds eminently doable... "Heads" I do it "Tails" You do it! :)
Post Reply