Re: [code] [textadept] New Code Autocompletion "Framework"

From: Mitchell <m.att.foicica.com>
Date: Wed, 28 May 2014 08:25:09 -0400 (Eastern Daylight Time)

Hi Richard,

On Wed, 28 May 2014, Richard Philips wrote:

> Hi Mitchell,
>
>
> I saw in Hg that you committed this.
>
>
> Thank you for that!
>
> Nevertheless,
>
> I think you have to update textadept/modules/textadept/editing.lua:
>
> function M.autocomplete(name)
> if not M.autocompleters[name] then return end
> local len_entered, list = M.autocompleters[name]()
> if not len_entered or not list or #list == 0 then return end
> buffer.auto_c_order = buffer.ORDER_PERFORMSORT
> ---> buffer:auto_c_show(len_entered, table.concat(list, ' ')) -- should
> make use of buffer.auto_c_separator
> return true
> end
>
> I work with the nightly build, but perhaps I should wait for another day :-)

Yup, the change I committed[1] didn't make it in time for the nightly.

Cheers,
Mitchell

[1]: http://foicica.com/hg/textadept/rev/65cd07648a49

-- 
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 Wed 28 May 2014 - 08:25:09 EDT

This archive was generated by hypermail 2.2.0 : Thu 29 May 2014 - 06:32:50 EDT