X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ide%2Fsrc%2FOldIDESettings.ec;h=bbf3174b51d169222e8ec7ae955b226db471ffa9;hb=8ee80ec2b5c2317d48ff1ac4b3a886a5d1bed7aa;hp=406a09104a0733865bb49bb00850754e8f8c8c43;hpb=6bad27e666389fc889502c26e7474a361f0ed80c;p=sdk diff --git a/ide/src/OldIDESettings.ec b/ide/src/OldIDESettings.ec index 406a091..bbf3174 100644 --- a/ide/src/OldIDESettings.ec +++ b/ide/src/OldIDESettings.ec @@ -19,7 +19,7 @@ define projectOptions = "Project Options"; define defaultTargetDir = "Default Target Directory"; define defaultIntermediateObjDir = "Default Intermediate Objects Directory"; -define makeDefaultCommand = (GetRuntimePlatform() == win32) ? "mingw32-make" : +define makeDefaultCommand = (GetRuntimePlatform() == win32) ? "mingw32-make" : #ifdef __FreeBSD__ "gmake"; #else @@ -95,7 +95,7 @@ class OldIDESettings : GlobalAppSettings recentFiles.Free(); recentProjects.Free(); delete docDir; - + delete projectDefaultTargetDir; delete projectDefaultIntermediateObjDir; @@ -106,8 +106,8 @@ class OldIDESettings : GlobalAppSettings void OnAskReloadSettings() { - /*if(MessageBox { type = YesNo, master = this, - text = "Global Settings Modified Externally", + /*if(MessageBox { type = YesNo, master = this, + text = "Global Settings Modified Externally", contents = "The global settings were modified by another instance.\n" "Would you like to reload them?" }.Modal() == Yes)*/ { @@ -122,7 +122,7 @@ class OldIDESettings : GlobalAppSettings { Array configNames { }; CompilerConfig compiler; - + CompilerConfig defaultCompiler = MakeDefaultCompiler(defaultCompilerName, true); compilerConfigs.Free(); compilerConfigs.Add(defaultCompiler); @@ -188,7 +188,7 @@ class OldIDESettings : GlobalAppSettings GetGlobalValue("Editing", "UseFreeCaret", integer, &useFreeCaret); GetGlobalValue("Editing", "CaretFollowsScrolling", integer, &caretFollowsScrolling); GetGlobalValue("Editing", "ShowLineNumbers", integer, &showLineNumbers); - + GetGlobalValue("Building", "NumParallelJobs", integer, &defaultCompiler.numJobs); { delete displayDriver; @@ -243,7 +243,7 @@ class OldIDESettings : GlobalAppSettings for(compiler : compilerConfigs; compiler != compilerConfigs.firstIterator.data) configNames.Add(CopyString(compiler.name)); - + PutGlobalValue("Compilers", "Configs", stringList, configNames); for(compiler : compilerConfigs; compiler != compilerConfigs.firstIterator.data) @@ -275,7 +275,7 @@ class OldIDESettings : GlobalAppSettings } configNames.Free(); delete configNames; - + CloseAndMonitor(); } return result;