diff --git a/Advanced Software Engineering/Advanced Software Engineering/Windows/TextEditor.cs b/Advanced Software Engineering/Advanced Software Engineering/Windows/TextEditor.cs index 6eb1901..7996508 100644 --- a/Advanced Software Engineering/Advanced Software Engineering/Windows/TextEditor.cs +++ b/Advanced Software Engineering/Advanced Software Engineering/Windows/TextEditor.cs @@ -21,7 +21,7 @@ namespace Advanced_Software_Engineering { string fileName = ""; /// - /// The text editor is the main window that the user will be using for writing code. + /// The text editor is the main window that the user will be using for writing code. /// public Text_Editor() { SettingsAndHelperFunctions.NumberOfWindows++; @@ -29,6 +29,10 @@ namespace Advanced_Software_Engineering { UpdateTitle(); } + /// + /// The text editor is the main window that the user will be using for writing code. + /// + /// File dialog which points to the file to open public Text_Editor(OpenFileDialog openFile) { SettingsAndHelperFunctions.NumberOfWindows++; InitializeComponent(); @@ -155,6 +159,9 @@ namespace Advanced_Software_Engineering { } } + /// + /// This function checks if the code written is OK + /// public void CheckCode() { Draw_Preview tmpDrawPreview = new Draw_Preview(); tmpDrawPreview.Hide();