mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 04:29:11 +02:00
Converter: add Mask -> MaskEdit mapping to replacement units.
git-svn-id: trunk@25939 -
This commit is contained in:
parent
69a213cd8d
commit
4715269597
@ -192,14 +192,15 @@ begin
|
|||||||
LoadStringToStringTree(fConfigStorage, 'ReplaceUnits', fReplaceUnits);
|
LoadStringToStringTree(fConfigStorage, 'ReplaceUnits', fReplaceUnits);
|
||||||
LoadStringToStringTree(fConfigStorage, 'ReplaceTypes', fReplaceTypes);
|
LoadStringToStringTree(fConfigStorage, 'ReplaceTypes', fReplaceTypes);
|
||||||
|
|
||||||
// Add default values if ConfigStorage doesn't have any.
|
// Add default values for string maps if ConfigStorage doesn't have any.
|
||||||
if fReplaceUnits.Tree.Count=0 then begin
|
if fReplaceUnits.Tree.Count=0 then begin
|
||||||
// Map Delphi units to Lazarus units.
|
// Map Delphi units to Lazarus units.
|
||||||
fReplaceUnits['Windows']:='LCLIntf, LCLType, LMessages';
|
fReplaceUnits['Windows']:='LCLIntf, LCLType, LMessages';
|
||||||
|
fReplaceUnits['Mask']:='MaskEdit';
|
||||||
fReplaceUnits['Variants']:='';
|
fReplaceUnits['Variants']:='';
|
||||||
fReplaceUnits['ShellApi']:='';
|
fReplaceUnits['ShellApi']:='';
|
||||||
fReplaceUnits['pngImage']:='';
|
fReplaceUnits['pngImage']:='';
|
||||||
fReplaceUnits['Jpeg']:=''; //maskedit
|
fReplaceUnits['Jpeg']:='';
|
||||||
fReplaceUnits['gifimage']:='';
|
fReplaceUnits['gifimage']:='';
|
||||||
fReplaceUnits['^Q(.+)']:='$1'; // Kylix unit names.
|
fReplaceUnits['^Q(.+)']:='$1'; // Kylix unit names.
|
||||||
fReplaceUnits['^Tnt(.+)']:='$1'; // Tnt* third party components.
|
fReplaceUnits['^Tnt(.+)']:='$1'; // Tnt* third party components.
|
||||||
|
Loading…
Reference in New Issue
Block a user