Documented TextEditor

This commit is contained in:
Lukasz Baldyga committed 2020-11-01 20:22:02 +00:00
1 parent ada5166a12
commit a15c683fb0
1 file changed
+7
@@ -29,6 +29,10 @@ namespace Advanced_Software_Engineering {
UpdateTitle();
}
/// <summary>
/// The text editor is the main window that the user will be using for writing code.
/// </summary>
/// <param name="openFile">File dialog which points to the file to open</param>
public Text_Editor(OpenFileDialog openFile) {
SettingsAndHelperFunctions.NumberOfWindows++;
InitializeComponent();
@@ -155,6 +159,9 @@ namespace Advanced_Software_Engineering {
}
}
/// <summary>
/// This function checks if the code written is OK
/// </summary>
public void CheckCode() {
Draw_Preview tmpDrawPreview = new Draw_Preview();
tmpDrawPreview.Hide();