Look-ahead window in File Compare

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
bryx
Junior Member
Junior Member
Posts: 2
Joined: 2005-04-26, 21:10 UTC

Look-ahead window in File Compare

Post by *bryx »

Hi,
Is there any way to configure how many lines the compare function will hold until it decides that a given line in file A is not in file B?
I don't know exactly the terms here, but I have two files which are pretty much the same save for a big comment at the start of one of them, the compare attempts to show differences between the comment and the start of the other file and does not realize the start matches what comes after the comment.
I assume it is because after looking X lines ahead in the comment and not finding the match it just gives up. My question: can I increase this X? (I know it would take more memory, cpu, whatever... I don't mind)
Thanks!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Sadly there is no way to configure it AFAIK, but you can use Beyond Compare (shreware), that does the trick pretty well.
I switched to Linux, bye and thanks for all the fish!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

...or WinMerge, which is free. ;)

Icfu
This account is for sale
bryx
Junior Member
Junior Member
Posts: 2
Joined: 2005-04-26, 21:10 UTC

Post by *bryx »

Thanks guys. I went for the free one and it suits me just fine for this. Too bad it's not possible with the internal one in TC.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

You can integrate WinMerge in TC, in case you don't know.
Either make a startmenu entry (possibility for a hotkey) or a button:

Code: Select all

Command: X:\path\to\WinMergeU.exe
Parameter: %p%n %t%m
Now all you have to do is move cursor on [..] in both panels to compare directories or move it on one file in left and one is the right panel.

Icfu
This account is for sale
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I switched to Linux, bye and thanks for all the fish!
Post Reply