[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ktexteditor-devel
Subject:    Re: Completion-Interface
From:       David Nolden <zwabel+kde () gmail ! com>
Date:       2008-04-21 19:31:35
Message-ID: 200804212131.35641.zwabel+kde () gmail ! com
[Download RAW message or body]

On Sunday 20 April 2008 19:37:59 Anders Lund wrote:
> This must be a problem with the completion widget, which should hide if
> there are no matching completions.

I think the problem is that your model does still return completions. Maybe 
you can add a smart watcher to the completion range, and if it is shorter 
then N characters reset all completions, and once it is long enough again 
recompute them. Also you've got to consider that the word completion can be 
used in conjunction with other completion models, so the completion widget is 
not necessarily closed when word-completion has no matches. So the words 
should be updated anyway.

Greetings, DAvid

_______________________________________________
KTextEditor-Devel mailing list
KTextEditor-Devel@kde.org
https://mail.kde.org/mailman/listinfo/ktexteditor-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic