Page 1 of 1
"Find in Open Files" and "Find in Project Fil
Posted: Thu Jul 28, 2011 11:28 pm
by Rat
Does Zeus have a "Find in Open Files" and "Find in Project Files" option somewhere?
Posted: Fri Jul 29, 2011 12:21 am
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
Posted: Fri Jul 29, 2011 1:18 am
by Rat
Sounds eminently doable... "Heads" I do it "Tails" You do it!
