[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Kolab bugfix: Allow completion of names even if last
From: David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date: 2004-08-11 22:26:13
Message-ID: 200408120026.13858.dfaure () klaralvdalens-datakonsult ! se
[Download RAW message or body]
On Thursday 12 August 2004 00:15, Ingo Klöcker wrote:
> Instead of adding duplicates to the completion list the code which looks
> for valid completions should be changed to not only find addresses that
> start with the already entered characters, but to find addresses which
> contain a word which starts with the characters. Then we would complete
> by first name, by last name, by email address and by the domain part of
> email addresses.
This would be horribly slow though - KCompletion is designed around "completing
entries _starting_ with the typed string", it has a tree of characters to make that fast.
Not using that would mean doing the matching by hand, by comparing those 4
versions of each entry (first name, last name, etc.) with the typed string...
Somehow KCompletion would need support for key != value
(having "LastName <address>" in the completion tree but showing
"FirstName LastName <address>" in the combo...)
Just my 2 cents (I'm definitely no KCompletion expert, I could be missing something).
--
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic