Re: [code] Updated proposal for better ctags support

From: Mitchell <m.att.foicica.com>
Date: Tue, 8 Jul 2014 09:31:03 -0400 (Eastern Daylight Time)

Carlos,

On Mon, 7 Jul 2014, Carlos Pita wrote:

> One more question: I see a char-deleted event is send when the user deletes
> a char in the autocompletion dropdown, but there is no char-added event.
> Why is this so?
>
> In general, is it possible to dynamically update the completion list each
> time the prefix changes? That is to get full control of the filtering of
> the contents of the list.

There is an `events.CHAR_ADDED` event. Just check if
`buffer:auto_c_active()` is `true` within a function connected to that
event. Then you can display a new autocompletion list if you'd like.

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 08 Jul 2014 - 09:31:03 EDT

This archive was generated by hypermail 2.2.0 : Wed 09 Jul 2014 - 06:35:39 EDT