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

From: Brian Schott <briancsch....at.gmail.com>
Date: Thu, 16 Sep 2010 16:36:37 -0700

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 at http://groups.google.com/group/textadept?hl=en.
>
>
Received on Thu 16 Sep 2010 - 19:36:37 EDT

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