Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can GoFish integrate into VFP IDE like Code References?
Message
From
30/11/2011 10:42:04
 
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Miscellaneous
Thread ID:
01529993
Message ID:
01530018
Views:
79
You can do this with a post-search filter...

First, search for just one word: "delete"

that will give you ALL the matches that have DELETE in the line.

Then, use the FILTER button and add "sam" as a "Matched Line" filter.

Please let me know if this accomplishes what you want.


================================================================================
***UPDATE***
================================================================================

OOPS - Now that I've gone back and re-read your question and the replies, I see that you are trying to search for multiple words across multiple lines. Ouch - that's gonna be tough, and certainly my initial comment above is not helpful.

The reason that this would be very difficult, is, image a long PRG or CLASS with lots of procedures definitions...If you allow the search to simply "span multiple lines", then, heck, you could wind up finding matches where one match word was found in one PROC and the other match word was found in another PROC, and that would not be what you really want.

So, there still has to be "boundaries" that limit where the matches must fall in order to make the results meaningful. Like between "PROC / ENDPROC" or "FUNC/ENDFUNC"

Like anything, all this is indeed possible, but, wow, a lot of work!



>The title is my question. I downloaded GoFish (latest beta) and took a cursory look at the info about it. I saw examples of calling it from code but didn't notice anything about using it as part of the IDE. The reason I am interested in doing that is I would like to do something that doesn't seem possible in Code References (which I like a lot and use routinely).
>
>The something is finding modules which contain both of two search strings. This afternoon I was looking for modules which contain "Delete" and the name of a table, let's call it Sam. I tried this in the Search box:
>
>delete + sam
>
>It found nothing, which I believe is because it was looking for the concatenated 12 character string.
>
>As you can see, my question isn't really about GoFish (although all comments about it are welcome). I just want to search for modules containing, anywhere in them, both of two expressions. Any tool that can do that would be great.
>
>TIA for any guidance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform