Unable to ignore space/tab conversion in 4.20

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
kmansoft
Posts: 7
Joined: Sun Mar 30, 2014 8:02 am

Unable to ignore space/tab conversion in 4.20

Post by kmansoft » Sun Mar 30, 2014 8:19 am

Hello,

It seems I'm unable to get DiffMerge 4.20 to ignore space/tab conversions.

The "Line Handling" settings are all enabled, as suggested elsewhere on this forum.

Please see the attachments.

Are my settings correct? If they are, is this a bug and is there a workaround?
Attachments
diffmerge-ws-2.png
Settings
diffmerge-ws-2.png (78.54 KiB) Viewed 10178 times
diffmerge-ws-1.png
Actual issue
diffmerge-ws-1.png (36.28 KiB) Viewed 10178 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Unable to ignore space/tab conversion in 4.20

Post by Beth » Mon Mar 31, 2014 8:00 am

What do you have set under Equivalence Mode and Content Handling?

Under Content Handling you want to make sure that you have unchecked that whitespace is importing, but checked that tabs are whitespace.
Beth Kieler
SourceGear Technical Support

kmansoft
Posts: 7
Joined: Sun Mar 30, 2014 8:02 am

Re: Unable to ignore space/tab conversion in 4.20

Post by kmansoft » Mon Mar 31, 2014 2:02 pm

@Beth -- thank you for your response.

That's exactly what I have.

This is under my "Java Source" ruleset, but just in case, I've also tried setting the default ruleset to same options, and turning off "Enable custom rulesets".

Also:

This is on Fedora Linux 64-bit, DiffMerge 4.20 64-bit, installed via an .RPM.

Tried Windows 8.1 64-bit, same DiffMerge version, same settings, same files --> same result.

Can I send in the actual source files? Would the developer be able to take a look?
Attachments
diffmerge-ws-4.png
diffmerge-ws-4.png (45.58 KiB) Viewed 10166 times
diffmerge-ws-3.png
diffmerge-ws-3.png (35.18 KiB) Viewed 10166 times

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Unable to ignore space/tab conversion in 4.20

Post by jeffhostetler » Tue Apr 01, 2014 5:45 am

On the "View" menu, turn on "Hide Unimportant Differences"
and see if that helps or changes things.

There are too many options I know and it can be a bit
confusing at times. But here are 2 steps in there:

[1] whether to ignore (strip out) spaces and/or tabs
(and case folding and etc) when vertically matching
up lines.

[2] whether to highlight such changes once matched.

There are times when you want 1+2 and sometimes when
you just want 1 turned on.

Let us know if that doesn't take care of it.
Thanks,
jeff

kmansoft
Posts: 7
Joined: Sun Mar 30, 2014 8:02 am

Re: Unable to ignore space/tab conversion in 4.20

Post by kmansoft » Tue Apr 01, 2014 7:00 am

"Hide Unimportant Differences" did the trick.

Thank you Jeff!

Post Reply