Re: [PATCH v2 4/5] Make boundary characters for --color-words configurable
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 5, 2008, 11:51 UTC
- Message-ID
- <alpine.DEB.1.00.0805051249520.30431@racer>
- In-Reply-To
- <46dff0320805040935n22354e1bta85b3f3fe7c16cad@mail.gmail.com>
Hi,
On Mon, 5 May 2008, Ping Yin wrote:
Show 26 quoted lines
> On Sun, May 4, 2008 at 5:44 PM, Johannes Schindelin > <Johannes.Schindelin@gmx.de> wrote: > > Hi, > > > > 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. > > Why not > > The <r>quick</r><g>fast</g><r>,</r> > <g>,</g>brown fox
I might well be a complete idiot, but your <r></r><something> example is way harder for me to read than my example.
And of course your example would still be wrong: the "quick" and the comma would not be separated at all.
Ciao, Dscho