Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Posts
    41

    Default Unexpected difference coloring

    I'm using the default colors, where a left change is blue, a right change is purple, and a difference is red or orange. I'm seeing some unexpected behavior in build 447: (Since I don't see how to change the background color in vBulletin, I'll demonstrate with a foreground color change.)

    Code:
    Left File:                                      Right File:
    #endif                                          #endif
    ///////////////////////////////////////////         // Explain why foo is allowed to fail
        if ( !foo() )                                   foo();
        {                                           ///////////////////////////////////////////
          HandleError();                            ///////////////////////////////////////////    }                                           ///////////////////////////////////////////
        else                                        ///////////////////////////////////////////
        {                                           ///////////////////////////////////////////
          HandleSuccess();                              HandleSuccess();
        }                                           ///////////////////////////////////////////
    Cirrus correctly matched the #endif, correctly matched the if ( !foo() ) to the foo() call, andcorrectly matched the HandleSuccess lines; but I was suprised at what it did to the comment. It's being treated as a "Line w/ unimportant different changes", and I was expecting a "Line w/ unimportant right changes".

    Which is the correct behavior?
    Last edited by Michael Kujawa; 19-Mar-2008 at 11:20 AM.

  2. #2
    Join Date
    Oct 2007
    Posts
    41

    Default

    I see what's up: I'd installed on a new machine and forgotten to set the "Orphans are sided change". I think I've been through this before and forgotten, too. Sorry for the spam.
    Last edited by Michael Kujawa; 19-Mar-2008 at 11:31 AM.

  3. #3
    Join Date
    Oct 2007
    Posts
    41

    Default

    One thing that IS different is that the unimportant diffs show up on the ruler the same as important diffs, instead of as just a little green tick. Was that intentional? Is that another option somewhere?
    Last edited by Michael Kujawa; 19-Mar-2008 at 12:34 PM.

  4. #4
    Join Date
    Oct 2007
    Posts
    786

    Default

    I think you have Ignore Unimportant Differences enabled, and you are seeing green ticks on the Thumbnail display for unimportant differences.

    For some time, ignored unimportant differences have been handled just like using the manual Ignored command on any difference. We will be separating the two concepts in an upcoming release.
    Tim T Scooter Software

  5. #5
    Join Date
    Oct 2007
    Posts
    41

    Default

    Ah yep, that's it. New machines can be such a pain Now my diffs look like they used to, thanks!

Posting Permissions

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