Implement grapheme cluster breaking
This patch includes an implementation of grapheme cluster breaking, which is especially useful for repositioning the cursor for left and right arrow key presses. The implementation is closely based on Unicode TR29, and uses the ICU grapheme cluster break property, but is tailored to more closely match the existing implementation and expected behavior. Part of a fix for b/15653110 Improve behavior of arrow keys in EditText Change-Id: I8eb742f77039c9ab7b2838285018cf8a8fc88343
Showing
include/minikin/GraphemeBreak.h
0 → 100644
libs/minikin/GraphemeBreak.cpp
0 → 100644
想要评论请 注册 或 登录