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