mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 12:13:30 +01:00
ShellListView: allow for case-sensitive masks. Issue #0029255. Patch by ruewa, modified by me.
git-svn-id: trunk@51037 -
This commit is contained in:
parent
0703a58eca
commit
cc42e8d513
@ -656,10 +656,16 @@ begin
|
||||
else MaskStr := AMask;
|
||||
|
||||
// The string list implements support for multiple masks separated
|
||||
// by semi-comma ";"
|
||||
// by semi-colon ";"
|
||||
MaskStrings := TStringList.Create;
|
||||
FileTree:=TAvgLvlTree.Create(@STVCompareFiles);
|
||||
try
|
||||
{$ifdef NotLiteralFilenames}
|
||||
MaskStrings.CaseSensitive := False;
|
||||
{$else}
|
||||
MaskStrings.CaseSensitive := True;
|
||||
{$endif}
|
||||
|
||||
MaskStrings.Delimiter := ';';
|
||||
MaskStrings.DelimitedText := MaskStr;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user