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

From: Robert Gieseke <rob.g.att.web.de>
Date: Tue, 10 Sep 2013 10:19:38 +0200

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')

Cheers,
Robert

-- 
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 - 04:19:38 EDT

This archive was generated by hypermail 2.2.0 : Tue 10 Sep 2013 - 06:54:35 EDT