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

2017-11-13 Thread Xuetian Weng
This revision was automatically updated to reflect the committed changes. Closed by commit R244:6758d45cb596: Add a new function to measure the length by text. (authored by xuetianweng). REPOSITORY R244 KCoreAddons CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D8800?vs=22287=22288

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

2017-11-13 Thread Eike Hein
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

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

2017-11-13 Thread Xuetian Weng
xuetianweng added a reviewer: Frameworks. REPOSITORY R244 KCoreAddons REVISION DETAIL https://phabricator.kde.org/D8800 To: xuetianweng, hein, apol, #frameworks Cc: #frameworks

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

2017-11-13 Thread Xuetian Weng
xuetianweng created this revision. xuetianweng added reviewers: hein, apol. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. REVISION SUMMARY CJK language contains more information per character. When people try to write code to cap