kompare not highlighting intra line differences

Nordin, Lars P Lars.Nordin at elavon.com
Thu Jan 7 14:24:31 UTC 2016


Thanks for that - I confirm that changing to a font with bold shows the intra-line differences again for me.
Changing Kompare to use background shading would be nicer - and easier to see (meld does this).

-----Original Message-----
From: jeremypwhiting at gmail.com [mailto:jeremypwhiting at gmail.com] On Behalf Of Jeremy Whiting
Sent: Tuesday, January 05, 2016 4:38 PM
To: Kevin Kofler
Cc: Nordin, Lars P; kompare-devel at kde.org
Subject: Re: kompare not highlighting intra line differences

I take that back. Apparently the fixed width font I had set (Oxygen
Mono) doesn't have a bold. Changing to Monospace which does shows the character differences just fine. I wonder if we should change kompare to use some other styling besides bold to indicate character differences, something like changing the text color or the background color maybe?

On Tue, Jan 5, 2016 at 2:22 PM, Jeremy Whiting <jpwhiting at kde.org> wrote:
> Bold hmm? It doesn't seem to be working here with latest from git.
>
> On Tue, Jan 5, 2016 at 2:12 PM, Kevin Kofler <kevin.kofler at chello.at> wrote:
>> Jeremy Whiting wrote:
>>> I'm fairly sure kompare never had the feature to highlight character 
>>> differences within changed lines. I've never seen it do that before 
>>> at least, and a quick check of what's on master just now shows it 
>>> doesn't do that currently.
>>
>> It does. It puts changed characters in bold. For the code, see the 
>> levenshtein stuff.
>>
>> It does, however, only try to show character differences if less than 
>> half of the characters in the line changed.
>>
>>         Kevin Kofler
The information contained in this e-mail and in any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. This message has been scanned for known computer viruses.


More information about the Kompare-devel mailing list