The last famous line

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MSpagni
Expert Member
Posts: 315
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

The last famous line

Post by MSpagni » Fri Oct 06, 2017 11:38 pm

I seem to remember having already had similar troubles, but I'm unable to find it in the forum.
Anyway: suppose you have two text files, A and B, unterminated; that is: without a final EOL.
Let say file A is:
Line 1
Line 2
Line 3
and file B is:
Line 1
Line 2
After comparing them you click on the arrow at the side of "Line 3" to copy it to the other file.
Now you see them perfectly equal. Good.
The you save file B and... file B ha become as follows:
Line 1
Line 2Line 3
Beside having something different from what you saw on screen, I think it's logical to automatically add an EOL to "Line 2" befor appending a new line.

And now there is the conundrum: which EOL? CR? LF? Both?
I leave this to you. :wink:

User avatar
psguru
Site Admin
Posts: 1716
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: The last famous line

Post by psguru » Sat Oct 07, 2017 11:41 am

Thanks as always; we'll have this fixed in the next build.
psguru
PrestoSoft

Post Reply