diff options
| author | oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> | 2019-05-10 17:58:06 +0000 |
|---|---|---|
| committer | oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> | 2019-05-10 17:58:06 +0000 |
| commit | 15db260639a157bffaaf55d10a6e4351aa4c154a (patch) | |
| tree | 1347ce1978b7aeedf15e0e2e57faa2b43c04bfdc /scripts | |
| parent | 744cf727f0102fc51dde5a2f0269433138270448 (diff) | |
| parent | 2e4f0117b067c6d795a7d42fe23162d41260ff74 (diff) | |
Merge branch 'unicode-blips' into 'master'
Text is now advanced based on graphemes, rather than bytes.
`QTextBoundaryFinder` is used to determine the end of a grapheme cluster, and then the entire cluster is copied into `f_character`. This will not influence text comparisons, like when determining formatting characters.
The `f_character` being potentially more than one byte long is then used to advance the `tick_pos` to the correct position, using its length.
See merge request AttorneyOnline/AO2-Client!60
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
