Compare by contents: Word wrap

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

hi5
Power Member
Power Member
Posts: 637
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Compare by content: wrap long lines

Post 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.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Compare by content: wrap long lines

Post 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
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Hammillian7
Member
Member
Posts: 107
Joined: 2003-07-16, 22:40 UTC
Location: Spain

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

Post 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 ... !
Thanks,
Jose

Nubia Redmagic 7Pro with non-rooted Android 13
Surrendered to Win11
User avatar
dindog
Senior Member
Senior Member
Posts: 316
Joined: 2010-10-18, 07:41 UTC

Better layout in compare for long lines.

Post 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
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Compare by contents: Word wrap

Post 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.
target_locked
Junior Member
Junior Member
Posts: 7
Joined: 2009-08-18, 01:46 UTC

Re: Compare by content: wrap long lines

Post 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.
Post Reply