Compare by contents: Word wrap
Moderators: Hacker, petermad, Stefan2, white
Re: Compare by content: wrap long lines
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)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Compare by content: wrap long lines
@target_locked
To use WinMerge as a button, copy and modify this one
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
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
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
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
-
- 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
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 ... !
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
Jose
Nubia Redmagic 7Pro with non-rooted Android 13
Surrendered to Win11
Better layout in compare for long lines.
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
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.
» Compare by content: wrap long lines
» Better layout in compare for long lines.
-
- Junior Member
- Posts: 7
- Joined: 2009-08-18, 01:46 UTC
Re: Compare by content: wrap long lines
Thank you Horst.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"
Now I can see the differences easily.