Page 2 of 3
Posted: 2014-04-25, 13:59 UTC
by oshizelly
Wrapping lines as and
option in Compare by content window may be simply useful for binary files. But this feature is absolutely necessary to compare text files. Have anybody any ideas, for what reason Christian does does not like the idea of adding this option to save those users, who needs it?
This argument (
http://www.ghisler.ch/board/viewtopic.php?p=237222#p237222 )does not seem to be very convenient for me, is there are any hidden considerations

Posted: 2014-04-27, 14:57 UTC
by HBB
I support this suggestion too.
Due to the reasons of Author, instead of expanding all lines, at least, a double-click action which expands/collapse the line under the cursor may help.
Posted: 2014-05-04, 01:07 UTC
by billiebub
definitely support this feature. It gets rather frustrating when having to scroll horizontally trying to find the changed characters. Even more frustrating when the lines are very very long
Posted: 2014-05-04, 21:26 UTC
by TW
support from me too.
just try to compare firefox' addons.js for example. it's all in one line... it's almost impossible to find the differences using cbc.
Posted: 2014-05-14, 08:01 UTC
by Cars10
Yes, I have this trouble many, many times as well. This would be a tremendous improvement.
Strong support by myself
Posted: 2014-06-19, 13:58 UTC
by Hammillian7
I also strongly vote for this option: showing long lines as wrapped would solve the problem that I suffer daily when comparing my C files.
Re: Compare by content: wrap long lines
Posted: 2019-07-27, 23:15 UTC
by fgnievinski
the request is simply to make the horizontal scrollbar optional instead of being mandatory.
that way, the user can adjust the textbox width simply resizing the entire window.
Re: Compare by content: wrap long lines
Posted: 2019-08-20, 19:50 UTC
by marlar
I second this suggestion. Word wrapping doesn't mean that the comparison is not line based. It's just a matter of how the line is displayed.
Anyway, I strongly recommend Meld for this. It has a nice word wrapping feature as well as regex filters. For example, you can define filters that exclude certain numbers, white space, code comments etc.
It integrates well with TC.
I have setup so that Ctrl-S (for
Sammenlign in Danish) invokes TC built-in differ whereas Shift-Ctrl-S invokes Meld on the two files.
Using Linux via Wine BTW and it works great

Re: Compare by content: wrap long lines
Posted: 2019-12-14, 23:25 UTC
by Slavic
I wholly support this. It would be very useful, especially for comparing the HTML files where paragraphs are long and don't have new lines inside. Currently we can see only the begin of each line, and the difference may be far beyond the window.
Re: Compare by content: wrap long lines
Posted: 2024-03-07, 02:01 UTC
by target_locked
Hi there,
After may be 10 years, has this feature been implemented?
Is that too difficult to do?
Re: Compare by content: wrap long lines
Posted: 2024-03-07, 17:33 UTC
by JOUBE
target_locked wrote: 2024-03-07, 02:01 UTC
Is that too difficult to do?
There are many new elements to handle long lines, e.g.:
Code: Select all
04.03.22 Added: Compare by content: Button "Sync" to choose re-synchronize method within a line (32/64)
10.03.22 Added: Compare by content: New hotkeys F2 and Shift+F2 to jump to the next/previous difference within the current line in edit mode (32/64)
11.03.22 Added: Compare by content: Shift+F2 now jumps to the last difference on the previous line with differences when no more differences are found on the current line (32/64)
11.03.22 Added: Compare by content: F2 now jumps to the first difference on the next line with differences when no more differences are found on the current line (32/64)
23.05.22 Fixed: Compare by content, right to left language: The new "Sync" button was overlapping text (32/64)
03.06.22 Fixed: Compare by content, "Sync" button: When the user changes the user-defined separators, switch to mode 3 which uses them and re-display the lines (32/64)
03.06.22 Fixed: Compare by content, "Sync" option 3: Handle special case where the two matching separators (left and right file) are the same -> they need to be drawn as part of the identical text (32/64)
05.06.22 Added: wincmd.ini [Configuration] CompareF2Mode=1 controls how F2 finds new strings in Compare by content: 0: just within the current line, 1: go to next line after last match, 2: restart in the current line (wrap around) after last match (32/64)
05.06.22 Fixed: Compare by content: Increased maximum line length for character by character comparison from 4096 to 32768 characters, edit mode from 16350 to 32768 characters (32/64)
17.06.22 Fixed: Compare by content, edit file, F2 jump to next match within a line: Blinking cursor may not be shown when F2 continues in the next line (32/64)
26.06.22 Fixed: Compare by content: Very long lines over 10000 characters could result in overlapping text (32/64)
03.07.22 Fixed: Compare by content: F2 didn't jump to zero length differences: positions where text was added to the other file (32/64)
04.07.22 Fixed: F2 in compare by content (edit mode): When using CompareF2Mode=2, don't jump to different line if current line doesn't contain any differences (32/64)
05.07.22 Fixed: F2 in compare by content (edit mode): When using CompareF2Mode=1, searching for the next difference could get stuck at empty lines (32/64)
It is not too difficult to use them and handle differences within long lines with them.
Re: Compare by content: wrap long lines
Posted: 2024-07-30, 09:09 UTC
by target_locked
For your information.
While waiting for TotalCmd to develop "Text wrapping Compare".
I am using this site to compare 2 text files. And it works very well.
https://diffchecker.dev/
Re: Compare by content: wrap long lines
Posted: 2024-08-01, 17:05 UTC
by hi5
@target_locked
WinMerge has a word wrap option, offline and portable - added bonus it can work with Excel,Word & PDF files too if you need it.
Re: Compare by content: wrap long lines
Posted: 2024-08-02, 08:04 UTC
by Horst.Epp
@target_locked
As hi5 already said, WinMerge has the required option.
It can also be integrated in TC as Compare tool or used with a button with the parameters %C1 %C2
Re: Compare by content: wrap long lines
Posted: 2024-08-03, 16:40 UTC
by Hammillian7
2hi5 , 2Horst.Epp Very promising, thanks for suggesting !
It would be also very nice if anybody gave a quick recipe to integrate in TC, saving anyone else the effort to find out in the utility docum...