Announcement

Collapse
No announcement yet.

Bug: BC shows nonexistent differences when lines wrap in two-way comparisons

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

  • Bug: BC shows nonexistent differences when lines wrap in two-way comparisons

    I'm using Version 4.2.4 (build 22795). Because this is a tight corporate environment I can't upgrade myself, and it will take weeks or longer to get an upgrade packaged and available to install. I looked at the recent release notes and I don't see this problem addressed, so I'm reporting it based on 4.2.4, assuming it's still a bug.

    When comparing lines longer than 4096 characters, the lines wrap in the window. But when the difference in the line results in different lengths going over the edge, the ending parts of the lines are appearing red (different) when they really are not.

    This might seem trivial but when comparing long lines of FIXML it gets very confusing. (This is an XML format where, for practical purposes, remains in long lines that could go 20k+ characters.)

    For obvious reasons (financial data) I can't provide a screenshot of FIXML, but I can get the same effect with two particular formatted strings. One shows scrolled all the way to the left, and the other shows scrolled all the way to the right. The strings show that the digits are different even though they are actually the same at that point. When viewing FIXML, it gets much more difficult to tell that they are really the same.

    In the image I'm attaching, the first line is: 'a' 153 times, '1' 9 times, 'a' 3855 times, '1234567890' 9 times.
    The second line, instead of 9 '1' it has 16 '2' which provides the slight difference in length.

    Click image for larger version

Name:	pic2.PNG
Views:	19
Size:	5.5 KB
ID:	80775


    Click image for larger version

Name:	pic1.PNG
Views:	88
Size:	5.3 KB
ID:	80774


  • #2
    To increase the line length before wrapping in the Text Compare:

    Open Tools > File Formats.
    Select the file format that matches your files.
    Go to the Conversion tab.
    Increase the characters per line limit to 65536 (max value) or a value greater than the longest line in your files.

    Chris K Scooter Software

    Comment

    Working...
    X