(29.11.2011 17:24), Luke Kenneth Casson Leighton wrote: > On Tue, Nov 29, 2011 at 1:30 PM, Lukasz Mach<[email protected]> wrote: > >> I started from similar option, but I realized that hints in popup are >> always one char "late" to what you typed. > i've seen that... can't remember how/why.
It's quite obvious for me why. When you have return from your async query - calling setCompletionItems(response) is too late. The popup is already shown and drawn. And there is no "updatePopupEntries". I workarounded it by calling onKeyUp(None,None,None), with taking care to not call twice the same request (and not make impressive infinite loop ) -- pozdrawiam Ćukasz Mach Pagema (http://www.pagema.net)

