Re: [PATCH v2 4/5] Make boundary characters for --color-words configurable
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- May 4, 2008, 21:27 UTC
- Message-ID
- <20080504212708.GA5660@mithlond.arda.local>
- In-Reply-To
- <m3ve1t6bli.fsf@localhost.localdomain>
Jakub Narebski wrote (2008-05-04 13:47 -0700):
Show 8 quoted lines
> Would it be possible instead of in-line word diff, use word coloring > to enhance traditional diff format? Something like > > -/Hello/ world. > +/Hi,/ world. > > (We could use bold, or reverse for marking changed fragment, or use > color only for changed fragment).
That would be helpful too, no doubt. I'm advocating the word diff because it's extremely useful with human languages. Lines don't have (usually) any special meaning there so in this context words are the most useful units.