Hook into various methods to ensure slang code is populated when editor is open

This commit is contained in:
2025-11-29 23:52:49 -07:00
parent 668c3a5d41
commit 1438213779
7 changed files with 293 additions and 78 deletions

View File

@@ -14,11 +14,7 @@ public class SlangFormatter : ICodeFormatter
public override string Compile()
{
if (Marshal.CompileFromString(this.Lines.RawText, out string compiled))
{
return compiled;
}
return string.Empty;
L.Info("ICodeFormatter attempted to compile source code.");
return this.Lines.RawText;
}
}