Re: Plans for the next version?

From: Rob <ro....at.web.de>
Date: Sat, 20 Feb 2010 07:41:39 -0800 (PST)

On Feb 20, 4:06 pm, mitchell <mforal.n....at.gmail.com> wrote:

> > So Textadept should look in the default themes folder and in
> > ~/.textadept/themes.
> > This would be better for portability.
>
> I think this is coded in core/init.lua. Does it not work? Sorry if
> this is a stupid question.
>

Thanks for the pointer, the last time I tried to figure this out I
didn't find it and used the full path.
I suggest changing line 18 in core/init.lua

if theme and #theme > 0 then _THEME = theme end

to

if theme and #theme > 0 then _THEME = _USERHOME..'themes/'..theme end

Then it works as described above, only the name of the theme folder is
necessary in "theme".

- Robert
Received on Sat 20 Feb 2010 - 10:41:39 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:39:14 EST