Re: [code] Small patch to the diff lexer

From: Mitchell <m.att.foicica.com>
Date: Thu, 27 Jul 2017 09:12:46 -0400 (EDT)

Hi Pedro,

On Wed, 26 Jul 2017, Pedro Andres Aranda Gutierrez wrote:

> Hi,
>
> attached is a small patch to the diff lexer that makes it theme-able It is
> inspired by https://medium.com/@a_baez/beautify-textadept-87a0c6e384a8

Thanks for your suggestion.

The colors in your patch only make sense if numbers are green-ish, operators are yellow-ish, and functions are red-ish. Otherwise, it might not be clear in other themes what is being added, changed, or removed in a given diff file. Also, it just feels wrong to assign the 'addition' style to numbers and the 'deletion' style to functions.

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.
Received on Thu 27 Jul 2017 - 09:12:46 EDT

This archive was generated by hypermail 2.2.0 : Fri 28 Jul 2017 - 06:36:54 EDT