SlickEdit Community
Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2018 v23 Beta Discussion => Topic started by: Nosh on September 02, 2018, 07:33:40 PM
-
If you compare two files with vsdiff (vsdiff file1.txt file2.txt) where one file has a size of 0 bytes and the other not, then a dialog opens with "Files match, view them anyway?"
But if you compare two files with size 0, the compare window opens.
Should be the other way round.
Regards, Norbert
-
Good catch. We will look into this.
-
Fixed for beta 4. Thanks for the report.
-
Thank you for your fix, but it is only a partial fix.
When you compare two 0 byte files with 'vsdiff left.txt right.txt' the diff window opens instead of the dialog "files match..."
Also the left side shows an empty line and the right side 'imaginary buffer line'.
When you compare two files, where only one file has 0 bytes the diff result differs depending on if the 0 byte file comes first or second.
-
Thank you for your fix, but it is only a partial fix.
When you compare two 0 byte files with 'vsdiff left.txt right.txt' the diff window opens instead of the dialog "files match..."
Also the left side shows an empty line and the right side 'imaginary buffer line'.
Thanks, I'll look into this
When you compare two files, where only one file has 0 bytes the diff result differs depending on if the 0 byte file comes first or second.
I'm not sure I understand what you mean. In my tests here, all the lines are on one side or the other as they should be. Are you seeing something different?
-
When the first file is the 0 byte file it looks like 1.png in the attachment.
When the second file is the 0 byte file it looks like 2.png in the attachment.
Empty line vs 'Imaginary Buffer Line'.
-
Hm. Thank you.
I can't reproduce this one. I noticed that the filenames on the blank files are different. Is there a chance that one of them isn't 0 bytes?