forked from enlightenment/enventor
parent
c301fab3cd
commit
6e7e18b12b
|
@ -694,6 +694,14 @@ autocomp_list_show(void)
|
|||
context_lexem_get(ad, entry, EINA_TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
autocomp_reset(void)
|
||||
{
|
||||
autocomp_data *ad = g_ad;
|
||||
if (!ad) return;
|
||||
queue_reset(ad);
|
||||
}
|
||||
|
||||
void
|
||||
autocomp_target_set(edit_data *ed)
|
||||
{
|
||||
|
|
|
@ -82,6 +82,7 @@ void autocomp_enabled_set(Eina_Bool enabled);
|
|||
Eina_Bool autocomp_enabled_get(void);
|
||||
Eina_Bool autocomp_event_dispatch(const char *key);
|
||||
void autocomp_list_show(void);
|
||||
void autocomp_reset(void);
|
||||
|
||||
|
||||
/* syntax color */
|
||||
|
|
|
@ -589,6 +589,8 @@ EOLIAN static void
|
|||
_enventor_object_line_delete(Eo *obj EINA_UNUSED, Enventor_Object_Data *pd)
|
||||
{
|
||||
edit_line_delete(pd->ed);
|
||||
//Close auto-completion popup if it's shown.
|
||||
autocomp_reset();
|
||||
}
|
||||
|
||||
EOLIAN static Eo *
|
||||
|
|
Loading…
Reference in New Issue