From 55a9e7999187eb6cb23de74ac2865352045e67fd Mon Sep 17 00:00:00 2001 From: Lukasz Baldyga Date: Sun, 25 Oct 2020 11:00:41 +0000 Subject: [PATCH] A prompt appears when checking code syntax. --- .../Advanced Software Engineering/Windows/TextEditor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Advanced Software Engineering/Advanced Software Engineering/Windows/TextEditor.cs b/Advanced Software Engineering/Advanced Software Engineering/Windows/TextEditor.cs index b506ce3..6eb1901 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Windows/TextEditor.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Windows/TextEditor.cs @@ -159,6 +159,7 @@ namespace Advanced_Software_Engineering { Draw_Preview tmpDrawPreview = new Draw_Preview(); tmpDrawPreview.Hide(); tmpDrawPreview.SubmitCommands(textBox1.Text); + if (tmpDrawPreview.IsSuccess()) new ErrorWindow("No errors", "No errors found in the program", "There have been no errors found", ErrorWindow.INFO_MESSAGE).Show(); tmpDrawPreview.Close(); SettingsAndHelperFunctions.WindowClosed(); tmpDrawPreview.Dispose();