Bart,
Thanks for suggesting TMaskList. I added it in and it works much better
than the normal FindFirst pattern matching. It also allowed me to remove
the duplicate checking.
Regarding TShellView, you might want to look at my Shell Control library.
It is explorer for Windows, as well as a few
On Wed, Sep 25, 2019 at 7:51 PM Anthony Walter via lazarus
wrote:
> Thanks. I'll look into TMaskList. I assume you mean this bit of code?
>
> https://github.com/alrieckert/lazarus/blob/master/components/lazutils/masks.pas
Yes, it's in the masks unit.
Bart
--
Hi Anthony,
It looks great!
If you were looking for new features, please consider the following
features:
1. Show the snippets from the file where the content was found, with
some context lines around the matches.
2. Allow specifying regular expressions for content search (optionally).
Thanks. I'll look into TMaskList. I assume you mean this bit of code?
https://github.com/alrieckert/lazarus/blob/master/components/lazutils/masks.pas
I am not sure how much this slows things down, and the checking if a file
has already been added only happen on per directory basis, meaning the
On Wed, Sep 25, 2019 at 7:38 PM Bart wrote:
> An alternative would be to use a TMaskList and use it's MatchesMaks
> method (and search the folder with AllFilesMaks).
As you can see, my fingers struggle with the keyboard ;-)
Everywhere it says *maks, you should read *mask.
--
Bart
--
On Wed, Sep 25, 2019 at 7:33 AM Anthony Walter via lazarus
wrote:
> The File Search utility is a stand alone tool for Mac, Windows, and Linux to
> search for files using a variety of criteria including containing text, file
> size,
> and file dates.
First of all: NICE!
You asked foor
If anyone is interested I've posted another hopefully useful program along
with the source.
https://www.getlazarus.org/apps/filesearch/
The File Search utility is a stand alone tool for Mac, Windows, and Linux
to search for files using a variety of criteria including containing text,
file size,