Re: [code] [textadept] ui.dialogs

From: Mitchell <m.att.foicica.com>
Date: Mon, 20 Jan 2014 23:13:17 -0500 (EST)

Hi Richard,

On Mon, 20 Jan 2014, Richard Philips wrote:

> Hello Mitchell,
>
>
> just to tell you that ui.dialogs.inputbox with tables works perfectly!
>
> There is one minor remark - and I suspect that you considered it as well -
>
> it is a pity that the 'informative_text' and 'text' keys do not match.

Why is that? I figured an offset of 1 is easily taken care of. (e.g.
`table.insert()`)

> This could be solved by putting the main message text in informative_text[0]

This would break the current implementation of Textadept's gtdialog
interface because it depends on Lua's 1-based table indexes. Patching in a
test for a zero index feels too messy.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 20 Jan 2014 - 23:13:17 EST

This archive was generated by hypermail 2.2.0 : Tue 21 Jan 2014 - 06:33:06 EST