compare by content - select all does not select last line

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
miskox
Member
Member
Posts: 166
Joined: 2003-06-11, 06:00 UTC

compare by content - select all does not select last line

Post by *miskox »

Compare by content, edit mode: ctrl/a does not select last line if it *does not* end with CRLF (TC 10 beta 7, 32-bit on 64-bit computer (Windows 10)).

Saso
#224551
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: compare by content - select all does not select last line

Post by *ghisler(Author) »

NOT confirmed.

Please send me two sample files to cghisler at gmail dot com with which this happens.
Author of Total Commander
https://www.ghisler.com
miskox
Member
Member
Posts: 166
Joined: 2003-06-11, 06:00 UTC

Re: compare by content - select all does not select last line

Post by *miskox »

First file left.txt:

Code: Select all

Current Package Version:	1.23.43
Filename:	nirsoft_package_enc_1.23.43.zip
MD5 Hash:	74455e323302c87d6da99e0152f13484
SHA1 Hash:	181f8f38ab064ee446f7352dfaea00845d0f3664
SHA256 Hash:	1ae000ba4dd810e2bb628f4c860df852cc16ffc0956664c84b581a5d9aaa1da4
File Size:	33262982 Bytes
Updated On:	April 05 2021 12:03:00
(make sure the last line does not end with CRLF (in f3-hex view it ends with 0x30 0x30)).

Second file:

Code: Select all

some text
Do compare by content, click Edit mode, CTRL+A. The last line on the left is not selected. If I click 'Edit Mode' and do CTRL+A again... sometimes it selects the last line and sometimes it doesn't.

Video here: www.kockarna.si/tc.zip (just rename .zip to .mp4).

Saso
#224551
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: compare by content - select all does not select last line

Post by *ghisler(Author) »

I was able to reproduce it now with the files you sent to me by e-mail, thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: compare by content - select all does not select last line

Post by *ghisler(Author) »

I got a confirmation by e-mail that this has been fixed.
Author of Total Commander
https://www.ghisler.com
Post Reply