Re: [code] [textadept] Textadept 6.5

From: Mitchell <m.att.foicica.com>
Date: Tue, 2 Apr 2013 00:37:00 -0400 (EDT)

Hi Ryan,

On Mon, 1 Apr 2013, Ryan Pusztai wrote:

> Mitchell,
>
> On Sun, Mar 31, 2013 at 11:40 PM, Mitchell <m.att.foicica.com> wrote:
>
>> ...
>> * Moved `_M.textadept.snapopen` into `io`.
>>
>
> I know you mentioned that the paths accepted are now just strings, but
> during my conversion I left it as a table and the error is a bit vague
> (/bin/textadept_6.5.x86_64/core/file_io.lua:433: attempt to call method
> 'gmatch' (a nil value)). Maybe check that the type is table? Just a thought.

I would prefer to keep the API simple. If you still want to use a table,
my recommendation is to call `io.snapopen(table.concat(t, '\n'))`. This is
a valid concern though, so thanks for bringing it up.

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 Tue 02 Apr 2013 - 00:37:00 EDT

This archive was generated by hypermail 2.2.0 : Tue 02 Apr 2013 - 06:30:52 EDT