Page 3 of 3

Re: Compare by content: wrap long lines

Posted: 2024-08-03, 17:38 UTC
by hi5
First post here https://www.ghisler.ch/board/viewtopic.php?p=447631#p447631 is how to use it as a button, the post beneath it shows how to set it up in the Ini section to replace the TC internal file compare.

Re: Compare by content: wrap long lines

Posted: 2024-08-03, 17:40 UTC
by Horst.Epp
@target_locked
To use WinMerge as a button, copy and modify this one

Code: Select all

TOTALCMD#BAR#DATA
C:\Tools\WinMerge\WinMergeU.exe
%C1 %C2
C:\Tools\WinMerge\WinMergeU.exe
WinMerge

0
-1
To integrate it, add the following line into the [Configuration] section of your WinCmd.ini.
Modify it for your path:
CompareTool="C:\Tools\WinMerge\WinMergeU.exe"

Then you can use a button with the internal TC command
cm_CompareFilesByContent

Item added in the Start Menu Re: Compare by content: wrap long lines

Posted: 2024-08-03, 23:24 UTC
by Hammillian7
Thanks to both, Hi5 and Horst !

To still keep the native TC compare, using your explanations, I've added an item ("&Compare2") to the Start Menu with those options:

Command:
%COMMANDER_PATH%\Util\WinMerge\WinMergeU.exe

Parameters:
%C1 %C2

It works well launching the WinMerge both for 2 files selected in the same pane as for 1 selected in each pane.

Now, I will have to learn to use WinMerge ... !

Better layout in compare for long lines.

Posted: 2024-11-01, 08:05 UTC
by dindog
When comparing two file which have different lines, long one. ( I happen to find it in automatic generated cmake file), TC will only display the windows witdh of two line in the bottom. Please add wrapping or scrollbar

Re: Compare by contents: Word wrap

Posted: 2024-11-01, 09:23 UTC
by white

Moderator message from: white » 2024-11-01, 09:22 UTC

Merged the following threads with this topic:
» Compare by content: wrap long lines
» Better layout in compare for long lines.

Re: Compare by content: wrap long lines

Posted: 2025-04-16, 15:51 UTC
by target_locked
Horst.Epp wrote: 2024-08-03, 17:40 UTC @target_locked
To integrate it, add the following line into the [Configuration] section of your WinCmd.ini.
Modify it for your path:
CompareTool="C:\Tools\WinMerge\WinMergeU.exe"
Thank you Horst.

Now I can see the differences easily.