C2026-041-invisible-position-changes-as-differences #807

Merged
jjenko merged 14 commits from C2026-041-invisible-position-changes-as-differences into Development 2026-09-03 08:56:33 -04:00
Showing only changes of commit edc5bc611b - Show all commits
+3 -4
View File
1
@@ -73,7 +73,6 @@ namespace Baseline
public IgnoreLines MyIgnore { get; set; } = new IgnoreLines();
private LastWas myLast = LastWas.Search;
private Settings MySettings;
//public bool TruncatedDataFg { get; set; } = false;
public string MyStatus
mschill marked this conversation as resolved Outdated
Outdated
Review

Wait this is both a global variable --- but it looks like it is passed as a paramater to functions --- if it is being passed as a paramaeter used locally in functions, why is it also a global variable?

Wait this is both a global variable --- but it looks like it is passed as a paramater to functions --- if it is being passed as a paramaeter used locally in functions, why is it also a global variable?
Outdated
Review

I cleaned this up

I cleaned this up
Outdated
Review

This is still commented out code - commented out code should be removed.

This is still commented out code - commented out code should be removed.
{
get { return tsslStatus.Text; }
8
@@ -856,7 +855,7 @@ namespace Baseline
DirectoryInfo di1 = new DirectoryInfo(path1);
DirectoryInfo di2 = new DirectoryInfo(path2);
_FileName = fileName;
FillByCompare(di1, di2, fileName, myIgnore, TruncatedDataFg, false);
FillByCompare(di1, di2, fileName, myIgnore, TruncatedDataFg);
}
/// <summary>
/// Fill for a search
@@ -963,13 +962,13 @@ namespace Baseline
}
return false;
}
private void FillByCompare(DirectoryInfo di1, DirectoryInfo di2, string fileName, IgnoreLines myIgnore, bool isTruncatedChecked = false, bool foundFileFg = false)
private void FillByCompare(DirectoryInfo di1, DirectoryInfo di2, string fileName, IgnoreLines myIgnore, bool isTruncatedChecked = false)
{
mschill marked this conversation as resolved Outdated
Outdated
Review

foundFileFg is an added paramater but it is not used - if not used it shoul be removed.

foundFileFg is an added paramater but it is not used - if not used it shoul be removed.
Outdated
Review

I removed foundFileFg

I removed foundFileFg
foreach (DirectoryInfo diChild1 in di1.GetDirectories())
{
DirectoryInfo diChild2 = new DirectoryInfo(Path.Combine(di2.FullName, diChild1.Name));
if (diChild2.Exists)
FillByCompare(diChild1, diChild2, fileName,myIgnore, isTruncatedChecked, foundFileFg);// Recursively work on Sub-Folders
FillByCompare(diChild1, diChild2, fileName,myIgnore, isTruncatedChecked);// Recursively work on Sub-Folders
}
Outdated
Review

foundFileFg is an added paramater but it is not used - if not used it shoul be removed.

foundFileFg is an added paramater but it is not used - if not used it shoul be removed.
Outdated
Review

I removed foundFileFg

I removed foundFileFg
foreach (FileInfo fiChild1 in di1.GetFiles(fileName))
{
6