hein added a comment.

  For the record though - a better way to do this is to use QTextBoundaryFinder 
which will operate e.g. on grapheme cluster boundaries. This still isn't super 
great for Chinese though. If you want to really-properly do it you'll end up 
depending on ICU and using its BreakIterator combined with dict-based support 
for Chinese, which isn't terribly fast however.

REPOSITORY
  R293 Baloo

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

To: michaelh, hein
Cc: bruns, lbeltrame, #frameworks, alexeymin, cfeck, ashaposhnikov, michaelh, 
astippich, spoorun, nicolasfella, ngraham

Reply via email to