Re: [code] [textadept] Latest Changes in hg

From: Mitchell <m.att.foicica.com>
Date: Tue, 10 Sep 2013 07:58:22 -0400 (Eastern Daylight Time)

Robert,

On Tue, 10 Sep 2013, Robert Gieseke wrote:

> Am 9/10/13 3:09 AM, schrieb Mitchell:
>> I changed my mind. The old method will stay. It just involves renaming
>> `buffer:reload()`, `buffer:save()`, etc. to `io.reload()`,
>> `io.save()`,
>> etc. Come to think of it, I'm not really sure I like mixing io
>> functions
>> (or anything external for that matter) with buffer objects in the
>> first
>> place. After all, it's `textadept.editing.block_comment()`, not
>> `buffer:block_comment()`.
>>
>> I'll make the necessary commits soon.
>>
> Sounds good :-)
> You probably already noted this, but the last commit with ARG_NONE
> breaks Textadept, because the 'locale' module requires _USERHOME.
>
> This order in core/init.lua seems to work:
> _SCINTILLA = require('iface')
> events = require('events')
> args = require('args')
> _L = require('locale')

Thanks for the heads up. It was a late night last night :)

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 10 Sep 2013 - 07:58:22 EDT

This archive was generated by hypermail 2.2.0 : Wed 11 Sep 2013 - 06:52:34 EDT