I want to ignore white-space differences.
I have a couple of examples of lines I want to consider as equal lines:
1a) if($foo=="bar")
1b) if ($foo == "bar")
2a) $foo='b'.'a'.'r';
2b) $foo = 'b' . 'a' . 'r';
Is there a way I can treat a's and b's as equals?
Ignoring white-space difference
Moderator: SourceGear
Re: Ignoring white-space difference
In the Diff/Merge Tools - Options, edit your Default Ruleset. Click on Line Handling and check the option to Ignore/Strip Whitespace when Matching Lines. Next, Click on Content Handling and make sure that the option "Whitespace is important" is unchecked. Then do the same for the particular file types you might be working with that have their own rulesets.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support