Re: [code] [textadept] What happened to the module function?

From: Jason <jpriest8ml.att.gmail.com>
Date: Sat, 18 Aug 2012 15:41:12 -0500

On 08/18/2012 03:27 PM, Robert wrote:
> Textadept is compiled without Lua 5.1 compatibility enabled.
> Basically, you need something like
> local M = {}
>
> -- your 'public' functions
> function M.set_breakpoint()
> -- ...
>
> return M
>
> in each module file.
>
> Robert

I began doing that, but as I tried loading other modules (luasocket for
instance), I ran into more problems.

I'll probably get around to modifying everything, but I'm interested in
why there is no Lua 5.1 compatibility.

-- 
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 Sat 18 Aug 2012 - 16:41:12 EDT

This archive was generated by hypermail 2.2.0 : Sun 19 Aug 2012 - 06:52:29 EDT