Compare contents window - compare 2 files with some different lines (let's say 10, scattered in the file, with the 2-3 differences at the top, being lines missing from one of the files).
- Press "Show only differences, with extra lines 0".
- Then press Edit Mode.
Clicking on the Next/Previous Differences buttons, notice that all lines get selected at some point, except the first one.
What i'm describing here stands for TC950b8 and for older versions too (tried 9.22a).
Compare contents line count error
Moderators: Hacker, petermad, Stefan2, white
Compare contents line count error
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: Compare contents line count error
Confirmed - but only with "Show only differences, with extra lines" set to 0
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Compare contents line count error
Sorry, cannot reproduce. I created some test files but they all behave as expected.
Could you e-mail me two test files, please?
Could you e-mail me two test files, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Compare contents line count error
2ghisler(Author)
Try with the two files in https://madsenworld.dk/tcmd/comparetest.zip
1. Unpack the two files history1.txt and history2.txt and open them in Compare by contents (history1.txt in the left side)
2. Check the box "Show only differences, with extra lines:" and set the extra lines to 0.
3. Click on the "Edit mode" button.
4. Click the "Next difference" button - line 17 is selected in history1.txt.
5. Click the "Next difference" button - line 120 is selected in history1.txt - it should have been line 116.
6. Click the "Next difference" button - line 152 is selected in history1.txt - it should have been line 128.
7. Click the "Previous difference" button - line 120 is selected in history1.txt - it should have been line 128.
8. Click the "Previous difference" button - line 17 is selected in history1.txt - it should have been line 116.
9. Click the "Previous difference" button - line 17 is still selected in history1.txt - it should have been line 4.
Try with the two files in https://madsenworld.dk/tcmd/comparetest.zip
1. Unpack the two files history1.txt and history2.txt and open them in Compare by contents (history1.txt in the left side)
2. Check the box "Show only differences, with extra lines:" and set the extra lines to 0.
3. Click on the "Edit mode" button.
4. Click the "Next difference" button - line 17 is selected in history1.txt.
5. Click the "Next difference" button - line 120 is selected in history1.txt - it should have been line 116.
6. Click the "Next difference" button - line 152 is selected in history1.txt - it should have been line 128.
7. Click the "Previous difference" button - line 120 is selected in history1.txt - it should have been line 128.
8. Click the "Previous difference" button - line 17 is selected in history1.txt - it should have been line 116.
9. Click the "Previous difference" button - line 17 is still selected in history1.txt - it should have been line 4.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Compare contents line count error
Confirmed fixed in TC 9.5b910.12.19 Fixed: Compare by content: Going to next/previous difference may skip results when only showing differences with 0 extra lines (32/64)

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar