Re: [code] Feature request: post_init.lua for themes

From: Robert <rob.g.att.web.de>
Date: Thu, 9 May 2013 14:35:37 +0200

On Thu, May 9, 2013 at 2:16 PM, Michael Richter <ttmrichter.att.gmail.com> wrote:
> I want to use a theme, but I want to change the font. The current process
> is to copy all the theme files into my local ~/.textadept hierarchy and edit
> them there. This means that if they change in a future version that I have
> to merge in any changes.
>
> What I'd really like to see is a post_init.lua file for themes that allows
> me to make overriding changes without modifying the default themes. Is this
> doable or is there some kind of technical reason preventing this?
>

I use something like this:
http://rgieseke.github.io/ta-common/theming.html
(You can put something similar in your 'init.lua' or somewhere else,
it is not dependent on the rest of the module.)

I'm not sure if the colors and fonts set in a theme's 'lexer.lua' can
be changed similarly.

Robert

-- 
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 09 May 2013 - 08:35:37 EDT

This archive was generated by hypermail 2.2.0 : Fri 10 May 2013 - 06:28:58 EDT