Re: Set the font size from home directroy

From: mitchell <>
Date: Tue, 22 Jun 2010 13:04:28 -0700 (PDT)


On Jun 22, 4:00 pm, Scott Weisman <> wrote:
> > As mentioned, lexer and textadept Lua states are separate from each
> > other (for good reason). There is no choice here. However, as ta has
> > evolved, users like you have pointed out the usefulness of being able
> > to change module options from files like user init.lua. As a result,
> > most everything in ta is accessible from the global state rather than
> > having to resort to editing modules directly.
> That does make sense. So is it possible to make the lexer context
> available as well in a similar fashion, so that individual files don't
> need to be overridden? Eg, ~/.textadept/lexer.lua', that gets
> processed after all lexer lua scripts are loaded. This way, you can
> override the font size for all themes you might use, without having to
> edit each theme individually.

Maybe, but I don't know how to share something like a Lua state from
Scintilla by using or extending its API.


Received on Tue 22 Jun 2010 - 16:04:28 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:49:07 EST