Private
Public Access
Documented TextEditor
This commit is contained in:
1 parent
ada5166a12
commit
a15c683fb0
1 file changed
+7
@@ -29,6 +29,10 @@ namespace Advanced_Software_Engineering {
|
|||||||
UpdateTitle();
|
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) {
|
public Text_Editor(OpenFileDialog openFile) {
|
||||||
SettingsAndHelperFunctions.NumberOfWindows++;
|
SettingsAndHelperFunctions.NumberOfWindows++;
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -155,6 +159,9 @@ namespace Advanced_Software_Engineering {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// This function checks if the code written is OK
|
||||||
|
/// </summary>
|
||||||
public void CheckCode() {
|
public void CheckCode() {
|
||||||
Draw_Preview tmpDrawPreview = new Draw_Preview();
|
Draw_Preview tmpDrawPreview = new Draw_Preview();
|
||||||
tmpDrawPreview.Hide();
|
tmpDrawPreview.Hide();
|
||||||
|
|||||||
Reference in new issue
Block a user