Cleaned up BepInEx logging
This commit is contained in:
@@ -37,7 +37,6 @@ public class SlangFormatter : ICodeFormatter
|
|||||||
public SlangFormatter()
|
public SlangFormatter()
|
||||||
: base()
|
: base()
|
||||||
{
|
{
|
||||||
L.Info("Slang Constructor");
|
|
||||||
OnCodeChanged += HandleCodeChanged;
|
OnCodeChanged += HandleCodeChanged;
|
||||||
OnCaretMoved += UpdateIc10Formatter;
|
OnCaretMoved += UpdateIc10Formatter;
|
||||||
}
|
}
|
||||||
@@ -198,7 +197,6 @@ public class SlangFormatter : ICodeFormatter
|
|||||||
var tab = Editor.ParentTab;
|
var tab = Editor.ParentTab;
|
||||||
if (Ic10Editor == null)
|
if (Ic10Editor == null)
|
||||||
{
|
{
|
||||||
L.Info("Ic10Editor was null");
|
|
||||||
iC10CodeFormatter = new IC10CodeFormatter();
|
iC10CodeFormatter = new IC10CodeFormatter();
|
||||||
Ic10Editor = new Editor(Editor.KeyHandler);
|
Ic10Editor = new Editor(Editor.KeyHandler);
|
||||||
Ic10Editor.IsReadOnly = true;
|
Ic10Editor.IsReadOnly = true;
|
||||||
@@ -207,7 +205,6 @@ public class SlangFormatter : ICodeFormatter
|
|||||||
|
|
||||||
if (tab.Editors.Count < 2)
|
if (tab.Editors.Count < 2)
|
||||||
{
|
{
|
||||||
L.Info("Adding new editor tab");
|
|
||||||
tab.AddEditor(Ic10Editor);
|
tab.AddEditor(Ic10Editor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user