[TC11.55] Synchronize Dirs, Compare By Content (cm_IntCompareFilesByContent) does not respect line returns

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
andry81
Member
Member
Posts: 130
Joined: 2018-11-22, 19:17 UTC

[TC11.55] Synchronize Dirs, Compare By Content (cm_IntCompareFilesByContent) does not respect line returns

Post by *andry81 »

I don't know what is happened, but 2 files with different line returns only does not treated as different at all.
andry81
Member
Member
Posts: 130
Joined: 2018-11-22, 19:17 UTC

Re: [TC11.55] Synchronize Dirs, Compare By Content (cm_IntCompareFilesByContent) does not respect line returns

Post by *andry81 »

I've found the issue with Synchronize Dirs. There was a tiny [++] button. I clicked and found that the `[=tc.Compare as text]` is added.
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC11.55] Synchronize Dirs, Compare By Content (cm_IntCompareFilesByContent) does not respect line returns

Post by *petermad »

Moderator message from: petermad » 2025-06-28, 16:28 UTC

No bug - so moved to "Total Commander (English)" from "TC11.x bug reports (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
andry81
Member
Member
Posts: 130
Joined: 2018-11-22, 19:17 UTC

Re: [TC11.55] Synchronize Dirs, Compare By Content (cm_IntCompareFilesByContent) does not respect line returns

Post by *andry81 »

petermad wrote: 2025-06-28, 16:28 UTC No bug - so moved to "Total Commander (English)" from "TC11.x bug reports (English)"
So, how to let the cm_IntCompareFilesByContent detect line return change?
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC11.55] Synchronize Dirs, Compare By Content (cm_IntCompareFilesByContent) does not respect line returns

Post by *petermad »

So, how to let the cm_IntCompareFilesByContent detect line return change
Compare them as binaries... (check the "Binary" box)

You can use the wdx-plugin: Linebreakinfo <https://totalcmd.net/plugring/LineBreakInfo.html> to detect the line break type in your text files.

If you want a feature to distinguish line breaks in Compare by Content, you can ask for it in TC suggestions (English)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply