[lazarus] dirsel.pas : Attached dirsel.zip
nc-gaertnma at netcologne.de
Sat Aug 2 11:41:48 EDT 2003
On Sat, 02 Aug 2003 10:04:24 -0400
Bob Wingard <bwingard at gt.rr.com> wrote:
> Vincent Snijders wrote:
> >Nice progress!
> >I have a few remarks/questions:
> >- The second FindFirst (used to look for subdirectories) in
> >FindMatchingTextFiles needs a matching findclose.
> Good eye, fixed.
I tried to apply and got:
patching file findinfilesdlg.pas
patching file ideprocs.pp
patch: **** malformed patch at line 71: Index: lcl/dirsel.pas
The patch seems to be ok. Does someone know, what this means?
> >- In TLazFindInFilesDialog.DirectoryBrowseClick you use if then
> >to append the path delimeter. You can use PathDelim from SusUtils unit
> >or DirectorySeparator from the system unit (both part of fpc RTL). You
> >might look also to AppendPathDelim in the FileCtrl unit (part of the
> Again, you are correct. There is another decleration of AppendPathDelim
> off in the Codetools directory and that is the one that I originally
> saw. fixed.
> >- Why do you use
> >and not
> >when you are looking for (sub)directories?
> This works on Windows but will not return any files on Linux. I am not
> sure but I think it is because everything is a file under linux, so
> directories are files with the directory attribute set.
> >Vincent Snijders.
More information about the Lazarus