Re: [textadept] Get the "Switch Buffer" and the "Snapopen" dialog to remember there last size

From: Ryan Pusztai <>
Date: Thu, 28 Jul 2011 09:16:37 -0400

Hi Mitchell,

On Tue, Jul 26, 2011 at 2:32 PM, mitchell <> wrote:

> Dialog size unfortunately cannot be saved since they are provided by
> gcocoadialog, however there are a couple ways of going about this:
> 1.
> * Define your own switchbuffer based on gui.switchbuffer code and add
> '--width', 'ddd', '--height', 'ddd' arguments to the gui.filteredlist()
> call where 'ddd' are your desired dimensions. Then you can assign a key
> command to your function (e.g. keys.cb = my_switchbuffer). This can all
> be done in your ~/.textadept/init.lua.
> * Copy the snapopen module to ~/.textadept/modules/**textadept/ and modify
> the gui.filteredlist() call just like above, adding '--width', etc.
> arguments.

So I did this and was able to set either the width or the height. It doesn't
seem to work correctly setting both the width and the height. It only takes
the first one set. Is this expected?

Received on Thu 28 Jul 2011 - 09:16:37 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:14:47 EST