A mirror for futokb (https://gitlab.futo.org/keyboard)
Go to file
Jean Chalard 2c48846903 Backward compatibility hack : send delete when empty.
Some apps depend on the keyboard sending something to them
when the text is empty. This is BROKEN. Your app must not lie
to the keyboard about what is before the cursor. If there is something
to delete, you must not pretend there is not and try to catch some
delete event. This will result in a bad user experience. This will not
work with all IMEs. If your app needs this broken behavior, you're
doing it wrong. Seriously guys, we're not in the era of typewriters
any more, there are touch screens, there are gestures, there is
accessibility, there are many innovative IMEs that don't have
keys. Do *NOT* rely on key events.

This change implements an ugly hack so that these broken apps
may continue half-working with LatinIME. We are very unhappy
about this.

Bug: 12998568
Change-Id: Ia62ae2fbee4fee65b463acf3a79aafcfd0defa1d
2014-02-13 18:41:54 +09:00
dictionaries Update dictionaries 2014-01-14 10:37:15 +09:00
java Backward compatibility hack : send delete when empty. 2014-02-13 18:41:54 +09:00
native Create Ver2PtNodeArrayReader. 2014-02-10 21:09:55 +09:00
tests Merge "Fix a test." 2014-02-13 05:20:58 +00:00
tools Merge "Optimize text resources' ordering a bit" 2014-02-11 13:33:42 +00:00
Android.mk
CleanSpec.mk