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

From: phayz <>
Date: Thu, 16 Sep 2010 15:55:27 -0700 (PDT)

On Sep 17, 8:43 am, phayz <> 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:
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.
Received on Thu 16 Sep 2010 - 18:55:27 EDT

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