|
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
|