Changeset 73 for trunk/IDE/UCore.pas


Ignore:
Timestamp:
May 2, 2013, 10:11:15 PM (12 years ago)
Author:
chronos
Message:
  • Modified: Packages are now stored as uncomporessed and are linked with relative path to project.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/UCore.pas

    r72 r73  
    176176      Free;
    177177    end;
    178   LastOpenedFiles.LoadFromRegistry(Root, Key + '\LastOpenedFiles'); //Root, Key + '\LastOpenedFiles');
     178  LastOpenedFiles.LoadFromRegistry(RegContext(Root, Key + '\LastOpenedFiles')); //Root, Key + '\LastOpenedFiles');
    179179  Compiler.LoadFromRegistry(Root, Key + '\Compiler');
    180180  FormMain.LoadFromRegistry(Root, Key);
     
    198198      Free;
    199199    end;
    200   LastOpenedFiles.SaveToRegistry(Root, Key + '\LastOpenedFiles');
     200  LastOpenedFiles.SaveToRegistry(RegContext(Root, Key + '\LastOpenedFiles'));
    201201  Compiler.SaveToRegistry(Root, Key + '\Compiler');
    202202  FormMain.SaveToRegistry(Root, Key);
     
    205205procedure TCore.RegisterIDEModules;
    206206begin
    207   ModuleManager.RegisterModule(TIDEModulePascal.Create);
     207  ModuleManager.RegisterModule(TIDEModulePascal.Create(nil));
    208208end;
    209209
     
    211211begin
    212212  with Compiler.ModuleManager do begin
    213     RegisterModule(TModulePascal.Create, True);
    214     RegisterModule(TModuleGCC.Create, True);
     213    RegisterModule(TModulePascal.Create(nil));
     214    RegisterModule(TModuleGCC.Create(nil));
    215215{    RegisterModule(TModuleInterpretter.Create);
    216216    RegisterModule(TModuleDelphi.Create);
Note: See TracChangeset for help on using the changeset viewer.