From 5f8a01b2f65809cb947d5244d3b028c25e1a68f6 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 4 Sep 2012 22:45:01 +0000 Subject: [PATCH] IDE: add syneditsgn to old package lists to keep TSynEdit register in the IDE, issue #22740 git-svn-id: trunk@38517 - --- ide/buildprofilemanager.pas | 7 +++++++ ide/miscoptions.pas | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ide/buildprofilemanager.pas b/ide/buildprofilemanager.pas index 79078d2dd3..d44e098b33 100644 --- a/ide/buildprofilemanager.pas +++ b/ide/buildprofilemanager.pas @@ -466,7 +466,14 @@ begin // Load defines, selected profiles and auto install packages. LoadStringList(XMLConfig,fAllDefines,Path+'AllDefines/'); LoadStringList(XMLConfig,fSelected,Path+'SelectedProfiles/'); + LoadStringList(XMLConfig,fStaticAutoInstallPackages,Path+'StaticAutoInstallPackages/'); + if FileVersion<3 then begin + // the IDE part of synedit was split into a new package syneditdsgn + fStaticAutoInstallPackages.Add('syneditdsgn'); + end; + + // Defines to test. if fAllDefines.Count = 0 then begin fAllDefines.Add('Debug'); diff --git a/ide/miscoptions.pas b/ide/miscoptions.pas index 11267ce2b2..3e003e76e1 100644 --- a/ide/miscoptions.pas +++ b/ide/miscoptions.pas @@ -118,7 +118,7 @@ implementation const MiscOptsFilename = 'miscellaneousoptions.xml'; - MiscOptsVersion = 2; + MiscOptsVersion = 3; function SortDirectionNameToType(const s: string): TSortDirection; begin