Copy change right to left

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
henryg
Posts: 2
Joined: Wed Oct 15, 2008 2:03 am

Copy change right to left

Post by henryg » Wed Oct 15, 2008 2:43 am

I cannot make up my mind whether this is possible on WIndows XP. The toolbar icon if hovered over says "Apply Change from Left (Alt+Right)" but I cannot make it work, and it is not on the right-click menu. I need the ability to do this, or if not possible can files be swapped easily?

Regards

Henry

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Copy change right to left

Post by jeffhostetler » Wed Oct 15, 2008 7:03 am

The "Apply Change from Left (Alt+Right)" toolbar command copies the content
of what is inside the dotted rectangle on the left-most panel and use it to
replace the content of what is inside the dotted rectangle in the right (or center)
panel.

I can think of a couple of reasons that this may be causing you problems:
[] are you on the "Edit View" and not the "Reference View" (see the tabs at
the bottom of the window? Editing only works on the Edit View. If the DiffMerge
was given a read-only flag on the command line, you may not have an Edit View.
[] Do you have a change highlighted with a dotted rectangle? You don't have
to drag a selection, just click within the colored area of the change or use
the next/previous change toolbar button.

The toolbar icon changes from a gray arrow to a green arrow when there
is a change that can be applied. Are you seeing the problem when the arrow
is green?

On the context menu, the equivalent command is named "Replace with This (default)"
or "Replace with Left (default)" depending on which window panel you clicked.

FWIW, A while back I had problems with the Right Alt key not behaving like the
Left Alt key, but I believe those problems are gone now. (At least on XP.)

Hope this helps,
jeff

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Copy change right to left

Post by jeffhostetler » Wed Oct 15, 2008 7:11 am

Maybe I misunderstood your question. I just noticed that the title of your question
didn't match something in the body.

In DiffMerge in a 2-way file diff window, the left panel is read-only. Only the right
panel is editable. All patch-like operations and cut/paste operations take content
from the left panel and replace content in the right panel. It is not currently
possible to edit the left panel. (Although this has been requested many times.)

And it is not currently possible to swap the left and right panels. (And this too
has been frequently requested.)

Hopefully I'll be able to get these features in in the near future.

jeff

henryg
Posts: 2
Joined: Wed Oct 15, 2008 2:03 am

Re: Copy change right to left

Post by henryg » Wed Oct 15, 2008 7:12 am

Thanks, I get it. It seems that differences cannot be copied in either direction from the edit tab; shame :(

Henry

mhueller
Posts: 2
Joined: Thu Sep 03, 2009 1:23 am

Re: Copy change right to left

Post by mhueller » Thu Sep 03, 2009 1:31 am

Hello,
just to add one more vote:
it would be very useful if there would be a "swap" button so to invert (left/right or up/down) the files when making files comparison.

Your product is very much appreciated

Thanks
Best regards

Post Reply