Re: How to set a fixed initial size for the Textadept window?

From: phayz <russelldicken....at.gmail.com>
Date: Thu, 16 Sep 2010 22:00:29 -0700 (PDT)

I have tried gui.size in my init.lua and in my theme's buffer.lua but
it doesn't seem to be having the desired effect. Every time I launch
TA the window is the same size.

- Russell

On Sep 17, 9:36 am, Brian Schott <briancsch....at.gmail.com> wrote:
> Use gui.size. I think this was one of the changes from 2.x to 3.x
>
>
>
> On Thu, Sep 16, 2010 at 3:55 PM, phayz <russelldicken....at.gmail.com> wrote:
> > On Sep 17, 8:43 am, phayz <russelldicken....at.gmail.com> wrote:
> >> Some time ago I came across some code which could be added to (I
> >> believe) the Textadept init.lua or the selected theme's buffer.lua
> >> file to have the Textadept window set to a fixed size on startup. I
> >> have since lost that configuration and can't seem to recreate it. Can
> >> anyone recommend a method of doing this?
>
> >> - Russell
>
> > OK - I searched this group again and found the following thread:
> > "http://groups.google.com/group/textadept/browse_thread/thread/
> > 657b58cf34b6b1e5/f811817a85daa687?lnk=gst&q=size#f811817a85daa687"
> > mention by Mitchell that adding the following line to your init.lua
> > should achieve what I want.
>
> > textadept.size = {100, 100}
>
> > I have added this to my init.lua but when Textadept loads I get the
> > following error message:
>
> > ...ocuments and Settings\USER/.textadept/init.lua:7: attempt to index
> > global 'textadept' (a nil value)
>
> > I don't quite understand where I'm going wrong and would appreciate
> > any help.
>
> > - Russell
>
> > --
> > You received this message because you are subscribed to the Google Groups "textadept" group.
> > To post to this group, send email to textadept.at.googlegroups.com.
> > To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/textadept?hl=en.- Hide quoted text -
>
Received on Fri 17 Sep 2010 - 01:00:29 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:51:56 EST