Re: [code] Small patch to the diff lexer

From: Pedro Andres Aranda Gutierrez <paaguti.att.gmail.com>
Date: Thu, 3 Aug 2017 07:57:02 +0200

This is the reason I wanted to reuse existing styles... It would be a line
in the docs stating that style X I used for Y in the diff lexer...

/PA

El 3 ago. 2017 6:05, "Mitchell" <m.att.foicica.com> escribió:

> Hi,
>
> On Mon, 31 Jul 2017, Robert Gieseke wrote:
>
> Am 31/07/17 um 09:21 schrieb Pedro Andres Aranda Gutierrez:
>>
>>> I think the different elements of the diff file show 'different enough'.
>>> My
>>> point is that you should not restrict to insertion is green deletion is
>>> red, because some colour sight deficits may translate that into insert is
>>> somehow grey and deletion is somewhat gray too...
>>>
>>> I, for example try to avoid blues, i.e. RGB=(0,0,x) in my themes,
>>> because
>>> I see them blurred up even with spectacles...
>>>
>>
>> Maybe we could have styles for "addition" and "deletion" like for
>> "class" or "number" and everyone could style them in their themes as
>> they liked?
>>
>
> That makes the most sense, but I'm not sure how I feel about specifically
> adding styles for this unique kind of token. It's not just the themes that
> change, but *lexers/lexer.lua* also needs updating. Then all lexers will
> have this style too, which seems excessive.
>
> Cheers,
> Mitchell
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 03 Aug 2017 - 01:57:02 EDT

This archive was generated by hypermail 2.2.0 : Thu 03 Aug 2017 - 06:49:43 EDT