diff --git a/Configuration/GlobalAssemblyInfo.cs b/Configuration/GlobalAssemblyInfo.cs index e1c38fb67..74c87c2cd 100644 --- a/Configuration/GlobalAssemblyInfo.cs +++ b/Configuration/GlobalAssemblyInfo.cs @@ -15,7 +15,7 @@ internal static class RevisionClass public const string Major = "3"; public const string Minor = "7"; public const string Build = "1"; - public const string Revision = "2732"; + public const string Revision = "2733"; public const string MainVersion = Major + "." + Minor; public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision; diff --git a/Configuration/Version.defs b/Configuration/Version.defs index fe731406e..e1bd1f4f7 100644 --- a/Configuration/Version.defs +++ b/Configuration/Version.defs @@ -1,4 +1,4 @@ -%COREVERSION%=1 -%REVISION%=2732 %MINOR%=7 +%REVISION%=2733 +%COREVERSION%=1 %MAJOR%=3 diff --git a/Release/pabcversion.txt b/Release/pabcversion.txt index 26c91c771..40f8daf4d 100644 --- a/Release/pabcversion.txt +++ b/Release/pabcversion.txt @@ -1 +1 @@ -3.7.1.2732 +3.7.1.2733 diff --git a/ReleaseGenerators/PascalABCNET_version.nsh b/ReleaseGenerators/PascalABCNET_version.nsh index 96ec33b4e..2c114140f 100644 --- a/ReleaseGenerators/PascalABCNET_version.nsh +++ b/ReleaseGenerators/PascalABCNET_version.nsh @@ -1 +1 @@ -!define VERSION '3.7.1.2732' +!define VERSION '3.7.1.2733' diff --git a/VisualPascalABCNET/Form1.cs b/VisualPascalABCNET/Form1.cs index aeb7c3eee..c373ab403 100644 --- a/VisualPascalABCNET/Form1.cs +++ b/VisualPascalABCNET/Form1.cs @@ -840,7 +840,7 @@ namespace VisualPascalABC private void StartMenuItem_Click(object sender, EventArgs e) { WorkbenchServiceFactory.RunService.Run(true); - if (VisualEnvironmentCompiler.Compiler != null && VisualEnvironmentCompiler.Compiler.ErrorsList.Count == 0) + /*if (VisualEnvironmentCompiler.Compiler != null && VisualEnvironmentCompiler.Compiler.ErrorsList.Count == 0) { var Percent = VisualEnvironmentCompiler.Compiler.PABCCodeHealth; if (Percent > 0) @@ -856,33 +856,7 @@ namespace VisualPascalABC var PM100 = 100 - Percent; HealthLabel.BackColor = Color.FromArgb(c.R - PM100 - 20, c.G - PM100 - 20, c.B - PM100 - 20); } - } - - - /*if (VisualEnvironmentCompiler.StandartCompiler != null && - VisualEnvironmentCompiler.StandartCompiler.LinesCompiled > 1000) - return; - var root = VisualEnvironmentCompiler?.StandartCompiler?.CurrentCompilationUnit?.SyntaxTree; - - if (root == null) - return; - if (VisualEnvironmentCompiler.StandartCompiler.CurrentCompilationUnit.SemanticTree == null) - return; - var stat = new SyntaxVisitors.ABCStatisticsVisitor(); - stat.ProcessNode(root); - var Percent = stat.CalcHealth(out int n, out int p); - - if (Percent >= 100) - { - HealthLabel.Text = ""; - return; - } - HealthLabel.Text = $"{Percent}%"; - - var c = SystemColors.Control; - var PM100 = 100 - Percent; - HealthLabel.BackColor = Color.FromArgb(c.R - PM100 - 20, c.G - PM100 - 20, c.B - PM100 - 20); - */ + }*/ } private void Form1_KeyUp(object sender, KeyEventArgs e)