Announcement

Collapse
No announcement yet.

24545 Text Compare alignment still poor even on top setting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 24545 Text Compare alignment still poor even on top setting

    Using Patience Deff https://i.imgur.com/8SPwdfs.png I'm seeing e.g.

    Click image for larger version

Name:	pNl7usW.png
Views:	70
Size:	4.9 KB
ID:	82310

    We'd expect to see

    Click image for larger version

Name:	wK9vhJW.png
Views:	69
Size:	4.7 KB
ID:	82311

    (created with manual alignment, F7)

    ... right?
    Attached Files

  • #2
    Hello,

    Each Alignment Algorithm functions differently, and while the human eye would expect different results, BC4 includes multiple algorithms and settings to adjust the comparison. If switching algorithms and altering the Alignment settings does not help, you would need to email in your current BCSupport.zip and sample files so we can take a look at the full files and how the code is executing on them. Email to support@scootersoftware.com and include a link back to this forum thread for our reference.
    Aaron P Scooter Software

    Comment


    • #3
      Thanks.

      Re the multiple algorithms and settings, I found none that improve on Patience Diff with [x] Use closeness matching.

      re this case, I just spotted closeness matching was unchecked and remedying this solves my problem.

      And how did that get unchecked?? I've just found that changing Never align differences sneakily unchecks Use closeness matching - rather than simply disabling it as per e.g. Unaligned. Not great, I think.

      Comment


      • #4
        In the use case(s) like this, I use the clipboard compare tool. Yes, this can take a little bit more time, but it works like a charm.

        Comment


        • #5
          Hello,

          jsytniak , for cases like this, I recommend tweaking the Alignment settings (like above) to help auto-align. If that does not work, you can use the clipboard compare, or, you can:
          1) select and Copy text
          2) select other text, right-click, and Compare to Clipboard.

          Or, in a Text Compare, Ctrl+Shift+V to Open Clipboard on either side.
          Aaron P Scooter Software

          Comment


          • #6
            Does Clipboard Compare use some diff method not available from the main program?

            Comment


            • #7
              No, Clipboard Compare doesn't use a special diff method.
              Chris K Scooter Software

              Comment


              • #8
                Thanks. Could you then clarify "I recommend tweaking the Alignment settings (like above) to help auto-align. If that does not work, you can use the clipboard compare"?

                Comment


                • #9
                  They had suggested clipboard compare to help compare out of alignment sections, but as you found, sometimes you can alter the session settings to get the alignment to occur. In your case, use closeness matching helped, but in other cases switching the algorithm (patience diff's emphasis on brackets) can help. It all depends on a user's files. I was then saying their method was fine, using the clipboard compare tool, but extended that to the Text Compare's "Compare selection to clipboard" context command, which would maybe be a click or two less to activate if they are already within a Text Compare session.
                  Aaron P Scooter Software

                  Comment


                  • #10
                    OK, so better convenience, but no better results. Thanks.

                    Comment

                    Working...
                    X