Re: [code] [textadept] Theme enhancements in hg

From: Mitchell <m.att.foicica.com>
Date: Wed, 8 Jul 2020 10:42:32 -0400 (EDT)

Hi,

On Wed, 8 Jul 2020, Mitchell wrote:

> Hi,
>
> I recently committed a change[1] that adds a more Lua-friendly API for
> themes, and will affect most uses of `view:set_theme()`.
>
> With respect to `view:set_theme()` changes, additional properties are now
> passed as global variables available within a theme (instead of as a
> property). If you were using the `fontsize` option for overriding the default
> font size, you'll need to use `size` instead.

I should clarify that this is theme-dependent. If you are using Textadept's built-in themes, you'll have to use the new name. External themes may not be affected by this at the moment.

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 Wed 08 Jul 2020 - 10:42:32 EDT

This archive was generated by hypermail 2.2.0 : Thu 09 Jul 2020 - 06:34:33 EDT