Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2011
    Location
    MI, USA
    Posts
    4

    Default Enhanced Text Compare Support in BC

    Hi, I noticed the other day that when we're doing file comparisons in the built-in TFS diff tool (diffmerge.exe), we get clear indication (via color coding) of which text was inserted, which text was modified, and which text was deleted. In BC, on the other hand, we only have important difference vs. unimportant difference.

    Is there any way we can get the same enhanced support in BC as well?

    For reference, we're using TFS 2010 and VS 2010 with BC 3 configured as a diff tool in VS 2010.

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hello,

    Thanks for the suggestion. If you go to the Session menu -> Text Compare Report, and select the Interleaved report. Do the Strikeout left/right difference options (Depending on if the left or right is the "older" file) display the information you are looking for?
    Aaron P Scooter Software

  3. #3
    Join Date
    May 2011
    Location
    MI, USA
    Posts
    4

    Default

    No, actually by doing that all I get is a report which does highlight deleted text by striking it out. I need the functionality in BC itself while doing comparisons so that I can modify text on either side as needed.

    The same thing can be achieved already via BC in the form of important vs. unimportant differences (and its left/right orphans). It's just that it would be awesome if it could somehow distinguish b/w deleted, inserted, and changed text.

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hello,

    One of our developers has pointed out the Align Details bar that you can add to the bottom of the display. This would show you a character by character alignment of the text in each line. Does that help with your current comparison?

    You can also enable the use of Merge colors in the Text compare in the Tools menu -> Options, Files Views -> Compare Colors, enable "Use merge colors for compares." to get sided coloring.
    Aaron P Scooter Software

  5. #5
    Join Date
    May 2011
    Location
    MI, USA
    Posts
    4

    Default

    Yes, the "Use merge colors for compares" option works for me. Thanks for the tip. I also want to try out the Align Details bar. Can you please tell me where do I enable it?

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    It is in the Text Compare, in the View menu. You can also right click in the details bar at the bottom (normally showing Line Details) and switch to Aligned Details or Hex Details. You will need to be running the latest version of BC3 (3.2.4) or the 3.3.0 beta. All BC3.x updates are free for 3.x users.
    http://www.scootersoftware.com/download.php
    Aaron P Scooter Software

  7. #7
    Join Date
    May 2011
    Location
    MI, USA
    Posts
    4

    Default

    Got it. That is pretty much exactly what I was looking for. Thanks a ton for the help.

  8. #8
    Join Date
    Jun 2015
    Posts
    2

    Default

    I used the "Use merge colors for compares" feature with BC3 and it worked fine.
    Now I have BC4, and I can't find this feature anywhere!
    Without it, BC4 is a big step backward.
    Can I access this feature in BC4?
    Thanks!

  9. #9
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,677

    Default

    Saurenz,

    To turn on BC4's equivalent to BC3's "Use merge colors for compares" setting:

    Open "Tools > Options".
    Go to the "Tweaks" section.
    Scroll down to "Editor Display".
    Check "Use orphan color".
    Chris K Scooter Software

  10. #10
    Join Date
    Jun 2015
    Posts
    2

    Default

    Thanks very much, Chris!
    This is an improvement, and it really helps.

    However, BC3 allowed the use of different colors for "left-only" and "right-only" changes.
    I could color "left-only" changes red (deleted) and "right-only" changes green (inserted).
    This was really nice.

    The "orphan color" idea is fine, but it only allows one color for both cases.

    Still, it is an improvement over not using it. Thanks!

    --Scot

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •