wdiff-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[wdiff-bugs] [bug #29379] wdiff hides space/tab differences


From: LRN
Subject: [wdiff-bugs] [bug #29379] wdiff hides space/tab differences
Date: Sun, 26 Aug 2012 13:59:42 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0

Follow-up Comment #1, bug #29379 (project wdiff):

s/some/all/

AFAIU, wdiff interprets its input as "words separated by any combination of
any spaces", where a character is considered to be a "space" if isspace() says
so.
Thus, spaces are not considered to be words, and are not subject to difference
checks, wdiff just skips over them.

This can be fixed by changing wdiff to interpret a sequence of any kind of
spaces as a word in its own right (though wdiff should remember that it's a
space-word, not a normal word), and check it for differences too.

Then an option to [not to] ignore whitespace difference can be added.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29379>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]