Page 1 of 1

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

Posted: 2006-11-17, 21:14 UTC
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?

Posted: 2006-11-17, 21:26 UTC
by petermad
2848
Try and enable the option "Ignore frequent lines" then it will probably be more like what you are used to.

Posted: 2006-11-18, 12:14 UTC
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” :)

Posted: 2006-11-18, 14:26 UTC
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.

Posted: 2006-11-18, 16:52 UTC
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!

Posted: 2006-11-18, 20:34 UTC
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.

Posted: 2006-11-19, 23:37 UTC
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.