13.10.2021 18:16, Juha Manninen via lazarus пишет:
I restored the great TMask implementation by José Mejuto in our
development branch.
I also fixed a few issues that hindered the transition last time.
It was discussed at least in this mailing list with title
"unit Masks vs. unit FPMasks"
in 23 February this year.
The logic in ShellCtrls unit is retained as it was. MaskList is used
only when there are many ';' separated masks.
I found a way to disable ranges in the new TMask code. The syntax
differs a little from the old one though. If the old TMaskOptions syntax
is needed, it can be added as a compatibility layer.
Don't know if it is related but just noticed that `Find in files` dialog
now "ignores" file masks.
E. g. I have the following file mask: `*.pas;*.pp;*.inc;*.lpr;*.lfm`,
but it also finds (existing) entries in *.bak files, which is not really
desired.
function TMaskList.MatchesWindowsMask() now works using a hack.
It is deprecated for that reason.
Tests to lazutils/test/testmasks.lpr were added for disabled ranges.
Please test everybody. I will read the old posts more carefully later.
--
Best regards,
Maxim Ganetsky mailto:gan...@narod.ru
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus