On Thu, Jan 24, 2019 at 10:57 PM Thiago Macieira
<thiago.macie...@intel.com> wrote:
>
> On Wednesday, 23 January 2019 23:32:28 PST Olivier Goffart wrote:
> >   - Introduce some iterator that iterates over unicode code points.
>
> I wrote that about a decade ago. It's called QStringIterator and it's inside
> our sources, but in a private header.
>
> But we may want to make it iterate over grapheme clusters instead of Unicode
> codepoints. That is, make it use QTextBoundaryFinder to iterate, instead of
> decode the storage to UTF-32.
> [...]

Sidenote: Such a QStringIterator would also be helpful for
KTextEditor, where we likely have some bugs we usually never see since
we never have > UTF16 or composed characters.

Greetings
Dominik
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to