Home Download Buy Blog Forum Support

on_query_completions bug?

on_query_completions bug?

Postby nh2 on Fri Aug 10, 2012 6:31 pm

I'd like to use on_query_completions to add some custom completions to the list.

If I
Code: Select all
return [(u'hello', u'hello'), ...]

it gets added to the list, but if I
Code: Select all
return [(u'?hello', u'?hello'), ...]

it overrides the whole list.

To be more precise, as soon as a special character is returned, the whole list is overwritten. Is this a bug? How can I work around it?
nh2
 
Posts: 2
Joined: Fri Aug 10, 2012 6:27 pm

Return to Plugin Development

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests