D8800: Add a new function to measure the length by text.

Eike Hein noreply at phabricator.kde.org
Mon Nov 13 19:18:26 UTC 2017


hein accepted this revision.
hein added a comment.
This revision is now accepted and ready to land.


  I'm very happy to see this. I opened a thread about this on k-c-d (I think) last year, but I didn't follow through with actual code. We have various search fields in KDE that do something like "only search on length > 3", and they fail miserably with CJK input. KRunner is one such example.
  
  The algorithm seems decent for now. It can always be refined later, once we have a central API for this.

REPOSITORY
  R244 KCoreAddons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D8800

To: xuetianweng, hein, apol, #frameworks
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171113/a084374a/attachment.html>


More information about the Kde-frameworks-devel mailing list