You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// the first column belongs to the last column of the previous
754
-
if(!string.IsNullOrEmpty(nextRow[0]))
755
-
{
756
-
// ignore NumWarningsLinefeed otherwise as this is important information
757
-
m_NumWarningsLinefeed++;
758
-
HandleWarning(rowLength-1,
759
-
$"Added first column from line {EndLineNumber}, assuming a linefeed has split the rows.");
760
-
combined[rowLength-1]+=' '+nextRow[0];
761
-
}
762
-
else
763
-
WarnLinefeed(rowLength-1);
752
+
// ignore NumWarningsLinefeed otherwise as this is important information
753
+
m_NumWarningsLinefeed++;
754
+
HandleWarning(rowLength-1,
755
+
$"Added first column from line {EndLineNumber}, assuming a linefeed has split the rows into an additional line.");
756
+
combined[rowLength-1]+=' '+nextRow[0];
764
757
765
758
for(intcol=1;col<nextRow.Length;col++)
766
759
combined.Add(nextRow[col]);
767
760
761
+
if(!hasWarningCombinedWrning)
762
+
{
763
+
HandleWarning(-1,$"Line {StartLineNumber}{cLessColumns}. Rows have been combined.");
764
+
hasWarningCombinedWrning=true;
765
+
}
766
+
768
767
CurrentRowColumnText=combined.ToArray();
769
768
gotoRestart2;
770
769
}
771
770
else
772
771
{
773
772
if(m_BufferPos<oldPos)
774
773
// we have an issue we went into the next Buffer there is no way back.
775
-
HandleError(-1,
776
-
$"Lines have been read that is now lost as records, please turn off Row Combination");
774
+
HandleError(-1,$"Line {StartLineNumber}{cLessColumns}\nAttempting to combined lines some line have been read that is now lost, please turn off Row Combination");
777
775
else
778
-
// return to the old position so reading the next row does not matter
776
+
{
777
+
// return to the old position so reading the next row did not matter
0 commit comments