- Add tasks

- Add check if file exist
- Improved code structure
This commit is contained in:
Stone-Red-Code
2021-10-09 20:23:28 +02:00
parent c40d1f45e0
commit 68a9bde5d9
12 changed files with 520 additions and 246 deletions
+1 -9
View File
@@ -1,6 +1,4 @@
using System;
namespace YesNt.CodeEditor
namespace YesNt.CodeEditor
{
internal class Program
{
@@ -8,7 +6,6 @@ namespace YesNt.CodeEditor
{
TextEditor textEditor;
Console.CancelKeyPress += Console_CancelKeyPress;
if (args.Length > 0)
{
textEditor = new TextEditor(args[0]);
@@ -20,10 +17,5 @@ namespace YesNt.CodeEditor
textEditor.Run();
}
private static void Console_CancelKeyPress(object sender, ConsoleCancelEventArgs e)
{
e.Cancel = true;
}
}
}