mjakeman / text-engine

A lightweight rich text framework for GTK
Other
21 stars 2 forks source link

Better unicode handling #33

Open mjakeman opened 2 years ago

mjakeman commented 2 years ago

As of #32, we use unicode character offsets exclusively for navigation.

Character offsets refer to unicode code points, however some characters like emoji are composite and use multiple code points. Let's find a way to navigate by grapheme (group of code points) rather than each code point.