Manual Diff Alignment in KDiff3
Asked Answered
B

1

53

The "Add Manual Diff Alignment" in KDiff3 doesn't seem to do anything. The online documentation is rather sparse.

Does this function actually work?

Bisulcate answered 2/4, 2012 at 20:25 Comment(2)
Don't use Ctrl-Y to do manual alignment during a merge. You will lose all of your merges.Mccormac
using Ctrl-Y during a merge seems to be fine as long as you do it before you start merging.Liquid
B
82

Ok, I figured it out.

To add manual diff alignment in KDiff3:

  1. Put the cursor at the beginning of some text in one child window
  2. Hit Ctrl+Y
  3. Put the cursor at the beginning of some text in another child window
  4. Hit Ctrl+Y
Bisulcate answered 2/4, 2012 at 20:52 Comment(5)
Can you add more details? Which line should I select? I tried selecting lines which were different, but should line up, and also tried selecting lines which were the same, but should line up. Didn't notice any change to the diff.Angle
It has been a while, but IIRC it works to click at the beginning of the text to compare and not have any text selected.Bisulcate
Is there a way to have more than one such alignment? I'm struggling and keep having to start from scratch.Chacma
Not that I'm aware of. I've been using BeyondCompare for several years now, and it's quite rich in features. May be what you need, and it has a pretty generous trial period.Bisulcate
I know this is an old post, but I just faced this problem in kdiff3, and you can use this technique in multiple places in the same document.Crescentic

© 2022 - 2024 — McMap. All rights reserved.