I'm sure this has come up before, but I'm having a hard time finding it because I don't know what the proper terminology is.
Quite often I compare text where both sides are an exact match, except one has additional text that the other does not have. For example, I may have just added something to a file, but didn't change/delete anything that already existed. It is not too uncommon for the beginning and/or ending characters of the new text to match a neighboring character in the original file. When this happens, BC only starts highlighting when the differences start which can sometimes be in the middle of a word. While this is technically not incorrect, it is not how a human would highlight differences and as such, I am sometimes thrown off for a moment by it.
A quick example would be to open a new text compare and type the following on the left:
and
on the right. Before you do that, though, imagine you had a highlighter in your hand and you were asked to highlight only the difference(s) between the 2 "files". Obviously, the only highlight will be on the right side, but what do you mark? Most humans would highlight "thirty-". BC highlights "hirty-t". Again, this technically correct, but the "human way" of doing it is also correct and I think it makes a lot more sense.
Here's what it looks like:
I have messed around with my alignment settings, but nothing seems to fix this. (If I'm not mistaken, alignment talks more about matching full lines than text on a single line... yes?)
Is there a setting somewhere that would tell BC to be less eager to break up words? If not, is that something that could be added in a future version? (I acknowledge that this could be a very difficult problem, but it's worth asking )
Quite often I compare text where both sides are an exact match, except one has additional text that the other does not have. For example, I may have just added something to a file, but didn't change/delete anything that already existed. It is not too uncommon for the beginning and/or ending characters of the new text to match a neighboring character in the original file. When this happens, BC only starts highlighting when the differences start which can sometimes be in the middle of a word. While this is technically not incorrect, it is not how a human would highlight differences and as such, I am sometimes thrown off for a moment by it.
A quick example would be to open a new text compare and type the following on the left:
This is test two.
This is test thirty-two.
Here's what it looks like:
I have messed around with my alignment settings, but nothing seems to fix this. (If I'm not mistaken, alignment talks more about matching full lines than text on a single line... yes?)
Is there a setting somewhere that would tell BC to be less eager to break up words? If not, is that something that could be added in a future version? (I acknowledge that this could be a very difficult problem, but it's worth asking )
Comment