C2026-041-invisible-position-changes-as-differences
This commit is contained in:
@@ -2,7 +2,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Volian.Base.Library
|
||||
{
|
||||
@@ -161,54 +160,24 @@ namespace Volian.Base.Library
|
||||
}
|
||||
public static void Write(string format, params object[] args)
|
||||
{
|
||||
if (args.GetUpperBound(0) != -1) // are there arguments?
|
||||
{
|
||||
if (args[args.GetUpperBound(0)] == "truncate_false") // if there is a 9th element test the value for truncated data.
|
||||
{
|
||||
_MyDebugPrint.Write(format, args); // only save to DebugMeta.txt if there is different truncate data.
|
||||
}
|
||||
else
|
||||
{
|
||||
_MyDebugPrint_Truncated.Write(format, args); // Save to both files if there is no special truncate data.
|
||||
_MyDebugPrint.Write(format, args);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_MyDebugPrint_Truncated.Write(format, args);
|
||||
_MyDebugPrint.Write(format, args);
|
||||
}
|
||||
}
|
||||
|
||||
public static void WriteLine(string format, params object[] args)
|
||||
{
|
||||
if (args.GetUpperBound(0) != -1) // are there arguments?
|
||||
{
|
||||
if (args[args.GetUpperBound(0)] == "truncate_false") // if there is a 9th element test the value for truncated data.
|
||||
{
|
||||
_MyDebugPrint.WriteLine(format, args); // only save to DebugMeta.txt if there is different truncate data.
|
||||
}
|
||||
else
|
||||
{
|
||||
_MyDebugPrint_Truncated.WriteLine(format, args); // Save to both files if there is no special truncate data.
|
||||
_MyDebugPrint.WriteLine(format, args);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_MyDebugPrint_Truncated.WriteLine(format, args);
|
||||
_MyDebugPrint.WriteLine(format, args);
|
||||
}
|
||||
}
|
||||
public static void TruncateWriteLine(string format, params object[] args)
|
||||
public static void WriteLineTruncate(string format, params object[] args)
|
||||
{
|
||||
_MyDebugPrint_Truncated.WriteLine(format, args);
|
||||
|
||||
}
|
||||
public static void TruncateWrite(string format, params object[] args)
|
||||
public static void WriteLineLegacy(string format, params object[] args)
|
||||
{
|
||||
_MyDebugPrint_Truncated.Write(format, args); // SaveFileDialog special truncate data
|
||||
_MyDebugPrint.WriteLine(format, args);
|
||||
}
|
||||
public static void Show()
|
||||
public static void Show()
|
||||
{ _MyDebugPrint.Show();
|
||||
_MyDebugPrint_Truncated.Show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user