Find Replace improvements

I would really like to be able to Replace across multiple procedure windows. I wrote something to try to do this myself, but it's difficult because of the restrictions on what you can do to procedures.

Also, can a switch be added to make Find across multiple windows to be the default?

Alan-

I just tried putting the Find dialog into multiple procedure window find mode, then closed the dialog. When I brought it up again with a procedure window as the target, it remembered my previous use.

As for replace, are you not happy with cmd-G, cmd-V? You're not trying to do a global replace across multiple procedure windows, are you? That sounds dangerous to me!

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
It is a good thing that multiple window mode persists. Any way to permit us to enable that mode as default?

I do cmd-G cmd-V a lot. But I find myself sitting at this task for too long. I'm willing to risk the dangers for global replacing across windows.

Here's an example: I modify a utility procedure that gets called in many of my dozens of procedure windows. For instance, I add an argument, and then need to fix that argument in all the calls.

There are other examples. I get the impression that my dozens of procedure windows isn't recommended, but it's something I really like to have. For instance, I have one experiment that I can do all of my work in for the main work I do, which has many distinct modules. The code can be a bit unwieldy at times, but it works really well.


>It is a good thing that multiple window mode persists.
>Any way to permit us to enable that mode as default?

The mode is remembered across invocations of Igor.

As far as changed to Find/Replace go, I will keep that in mind. Text editing is in need of an update but it will have to wait until I have cleared a number of other issues off my to-do list.

hrodstein wrote:

The mode is remembered across invocations of Igor.



Oh, I see what you mean. It took me a while. I rarely quit Igor!

My issue is that it isn't even remembered once you've changed the search string. What I mean is, for example

0) select some text
1) cmd-H
2) cmd-F
3) select Multiple Windows
4) after this search, go back to 0). You need to repeat steps 2 and 3. I'd like to have cmd-H search globally once that mode is set. Or at least when you do step 2, it's still in global mode, so you can avoid hitting the menu.

But I suppose there's a reason why cmd-H might need to reset the mode. [very minor nit: how do you escape having the very first invocation of cmd-H hide Igor?]

Anyway, global replacing is more of a priority.