Improve code formatting

This commit is contained in:
Stone_Red
2022-11-17 11:40:51 +01:00
parent 533ad23c4d
commit 1ced6f393c
11 changed files with 39 additions and 109 deletions
+2 -9
View File
@@ -23,7 +23,7 @@ namespace YesNt.CodeEditor
{
if (File.Exists(path))
{
Load(path);
_ = Load(path);
}
}
@@ -131,14 +131,7 @@ namespace YesNt.CodeEditor
if (CurrentPath.Trim() != path.Trim() && loadIfExists)
{
if (Load(path))
{
return true;
}
else
{
return false;
}
return Load(path);
}
if (string.IsNullOrEmpty(Path.GetExtension(path)))
{