0

I would expect that Beyond Compare would ignore differences based on tabs vs spaces if in the Session Settings/Importance Tab, I check the boxes labeled Leading Whitespace and Embedded Whitespace while comparing text files using the default format. Neither checked nor unchecked causes those differences to be ignored.

What am I missing?

duncan
  • 31,401
  • 13
  • 78
  • 99

2 Answers2

1

The checkboxes there are controlling what's important to the comparison. Whitespace will be important if they're checked and unimportant if they're unchecked. They do only affect text that doesn't match something else in the grammar though. If you're comparing C++ code, for example, and the whitespace occurs at the end of a comment line it will be classified as a comment instead.

Assuming it's classified as "unimportant" correctly, BC will still show it as a difference, but will show it in blue rather than red. You can hide unimportant differences using the View->Ignore Unimportant Differences menu item, which will make them appear using the matching coloring and filter as such.

If you're still having trouble you'll have better luck getting support if you email support@scootersoftware.com or post in our support forums at http://www.scootersoftware.com/vbulletin/ with a bit more information.

Zoë Peterson
  • 13,094
  • 2
  • 44
  • 64
0

Go to: Tools -> File formats -> Grammar. Add a grammar item (the +) and then mark the Regular expression check box. There you can add a regex matching the items you want and define the severity of them.

In general, this is very useful when you have some differences that are not important to you.

shapiro yaacov
  • 2,308
  • 2
  • 26
  • 39
  • I understand the suggestion, thank you, but why doesn't the product work 'as advertised'? I just want it to ignore white space differences. Tabs are white space. Spaces are white space. Seems to be a rather basic bug to me. – Jim Brown Jun 22 '15 at 15:55