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

From: mitchell <c....at.caladbolg.net>
Date: Thu, 28 Jul 2011 09:32:59 -0400 (Eastern Daylight Time)

Ryan,

On Thu, 28 Jul 2011, Ryan Pusztai wrote:

> Hi Mitchell,
>
> On Tue, Jul 26, 2011 at 2:32 PM, mitchell <c....at.caladbolg.net> 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?

No, this is a bug. Thanks for the report.

mitchell
Received on Thu 28 Jul 2011 - 09:32:59 EDT

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