Compare By Content, TC6.55 differs from TC7.0pb1

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
848
Junior Member
Junior Member
Posts: 21
Joined: 2003-08-10, 19:33 UTC
Location: The Netherlands

Compare By Content, TC6.55 differs from TC7.0pb1

Post by *848 »

I compared two text files with TC6.55 and TC7.0b1 and both of them find the differences. Compare By Content from TC6.55a shows the differences sorted in a much better way. The two files have lots of differences and TC6.55a is better capable of finding and sorting matching lines between all these differences.

Is it possible to let TC7.0b1 compare files the way TC6.55 does?
User avatar
petermad
Power Member
Power Member
Posts: 14795
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2848
Try and enable the option "Ignore frequent lines" then it will probably be more like what you are used to.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
848
Junior Member
Junior Member
Posts: 21
Joined: 2003-08-10, 19:33 UTC
Location: The Netherlands

Post by *848 »

Thanks. That helps indeed. This is what I expected to see. Glad this option stays enabled after closing and starting TC. (All "save on exit" options enabled)

I didn’t try the “ignore frequent lines” option, because there aren’t that much frequent lines. (some lines look similar though). Shouldn’t this option be enabled by default to make TC7.0 more compatible with TC6.55?

What exactly is the use of this option? It’s not noted in the help file (yet). I know this is a Beta version and the help file is not 100% ready. I noticed there is one thing that is already in the help file and not in TC (I couldn’t find it). The help file describes a feature “Resync comparison from here” :)
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

848 wrote:I noticed there is one thing that is already in the help file and not in TC (I couldn’t find it). The help file describes a feature “Resync comparison from here” :)
It's in context menu. Select 1 line in the left file, 1 line in the right one, and this command will be enabled.
User avatar
petermad
Power Member
Power Member
Posts: 14795
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

What exactly is the use of this option?
See history.txt:
28.03.06 Added: Compare by content, "Ignore frequent lines": TC will ignore lines which appear very often in the document, e.g. empty lines, "begin"/"end" statements in programming languages etc.
Select 1 line in the left file, 1 line in the right one, and this command will be enabled.
AND click the right mouse button!
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
848
Junior Member
Junior Member
Posts: 21
Joined: 2003-08-10, 19:33 UTC
Location: The Netherlands

Post by *848 »

@petermad, One of the files I've compared contains a lot of lines starting with an exclamation mark (!). If I remove the !'s, the result of Compare by Content starts to look the same as TC6.55 if I use TC7.0pb1 without "Ignore frequent lines". So that's explained then.

@Valentino. Thanks for pointing this out to me. It seems to work also without selecting a line also for text files.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, "Ignore frequent lines" was the default in TC 6.55. It ignores lines like { and } in C, begin/end in Delphi etc. when re-synching after a line difference. This way paragraphs/functions match much better.
Author of Total Commander
https://www.ghisler.com
Post Reply