maiacore android keyboard app or something
Find a file
Jean Chalard a411595b16 Fix two nasty bugs with surrogate pairs.
The important bug is in findWordInTree. The problem, which is
not obvious, is that we were calling codePointAt() with the
code point index in the string, instead of the char index.
The other bug this change fixes was harmless in the practice,
because it's in the iteration which is only used for debug and
pretty printing purposes. It's very similar in that it would
substract a length in code point to a length in chars and
truncate a StringBuilder at that length, so it would fail in a
quite similar manner. This changes the meaning of the "length"
attribute in Position, but it's clearer this way anyway.

Bug: 8450145
Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0
2013-04-01 17:06:19 +09:00
dictionaries Update the Russian dictionary 2013-01-21 19:30:17 +09:00
java Fix two nasty bugs with surrogate pairs. 2013-04-01 17:06:19 +09:00
native Add const_cast to live with host's jni.h 2013-03-26 17:58:17 +09:00
tests Fix two nasty bugs with surrogate pairs. 2013-04-01 17:06:19 +09:00
tools Fix two nasty bugs with surrogate pairs. 2013-04-01 17:06:19 +09:00
Android.mk Build native subdirectories first 2013-01-28 20:07:31 -08:00
CleanSpec.mk Pass the touch position correction data to native. 2011-09-29 17:00:49 +09:00