Toad Compare logic

Hello,
From time to time I'm also using Compare feature between two files and I would like to know all about that feature. Can you please give me some good topic or detail tutorial about that.

How can I the most efficient achieve that: I have two similar files. The 1st one is already changed and saved. The 2nd I have to change mainly on the same spots but using different code. So that I can faster find that spots I'm using compare. Then I go back to 2nd file and change that part, go back to tab Compare Files and press button Recompare (Does not reload text being compared) (F5). And her My Q pops up: In file I'm changing added line appeared green, whats is logical. But in file I compare to it this line dissapeared. Why? If I make a new comparison I see this code in both files and in 2nd file doesn't have it green anymore, what is logical.
So what exactly you mean with tooltip expression Does not reload text being compared?

I would like to do that way:

  1. Open two files to compare. I find 1st spot to change in 2nd file
  2. Go to 2nd file and change it.
  3. Go back to compare window, press F5 and find another spot and go back to 2nd file again and repeat that drill until I change all that spots I have to.

Is there any option so I can switch to direct "enable" edit mode in my 2nd window like I can do it in other comparsion tools?

Regards,
Blacksmith

If you launch Compare Files from Main menu -> Utilities -> Compare Files, then F5 does reload files from disk, and your technique would work: Both files in file compare, one file being edited elsewhere, F5 in file compare as needed to reload.

But, you said in File Compare, you see "(does not reload text being compared)". This happens when File Compare is launched from somewhere else in Toad that just sent some text to the file compare. In this case, the file compare window can't pull the text again, so F5 doesn't really do much of anything except run the compare again (without reloading anything from disk or anywhere else)

Compare Files doesn't really have an Edit mode where you can directly edit one side or the other, but it does have a "merge" mode (shown below), where it can create an output file from comparing the 2 source files. If some lines differ, you can decide if the right or left has the correct version by clicking the diamond in the gutter for whichever side you want, and then that line will go into the output at the bottom.

To enable merge mode, click the blue merge arrow icon (it's right about in the middle of the toolbar, just after the = icon)