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

From: Mitchell <>
Date: Wed, 15 Jul 2020 09:01:16 -0400 (EDT)

Hi Robert,

On Wed, 15 Jul 2020, Robert Gieseke wrote:

> Hi Mitchell,
> On 08.07.20 16:40, Mitchell wrote:
>> 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.
>> view:set_theme('dark', {font = 'MyFont', fontsize = 14})
>> becomes
>> view:set_theme('dark', {font = 'MyFont', size = 14})
>> Lexers with custom styles may also utilize `lexer.colors` and `lexer.styles` with `lex:add_style()`. An example is here[2].
>> These changes are available in the current set of nightly builds.
> How does one overrides colors and styles with this new setup?

Are you asking if there's a way to override colors and styles from the table? If so, there isn't one. I wasn't aware that was a thing.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 15 Jul 2020 - 09:01:16 EDT

This archive was generated by hypermail 2.2.0 : Thu 16 Jul 2020 - 06:35:27 EDT