Re: Plans for the next version?

From: mitchell <mforal.n....at.gmail.com>
Date: Sun, 21 Feb 2010 19:23:19 -0800 (PST)

Hi,

> > > 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".

Sorry for the noise; this was fixed in r479 and will be in 2.1.

Mitchell

>
> - Robert
Received on Sun 21 Feb 2010 - 22:23:19 EST

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