Re: [PATCH v2 4/5] Make boundary characters for --color-words configurable

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

 



Hi,

On Sun, 4 May 2008, Ping Yin wrote:

> If we set diff.nonwordchars to "()", the example above will show as "if 
> (<r>foo(</r><g>bar(</g>arg))". It's much better, athough not the best.

Okay, let's use the power of Open Source, and come up with the best 
solution.

The problem: given two chunks of text, where a word was changed, and a
non-word-character was moved to the next line.  Example:

	The quick,
	brown fox

vs

	The fast
	, brown fox

IMHO the layout of the new version should be retained, i.e.

	The /quick/fast/
	, brown fox

should be shown.

If everybody is fine with that, I'll try to come up with an 
implementation. 

Ciao,
Dscho


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux