I implemented my own InputFilter recently (for an EditText view) and
everything works fine...at least on stock keyboards.

However, I'm getting reports of problems with 3rd party IMEs (such as
Cantonese Keyboard).

If the user types "hello", then he gets "hhehelhellhello". This
happens with a few popular 3rd party IMEs I've tried. Google Pinyin
IME works fine though.

On closer inspection, when typing the "e" of "hello", the args to
InputFilter.filter() are:

source: "he", start: 0, end: 2, dest: "h", dstart: 1, dend: 1

However, I think it should be either:

source: "e", start: 0, end: 1, dest: "h", dstart: 1, dend: 1   (Google
Pinyin IME and Nexus One stock IME do this)

or

source: "he", start: 0, end: 2, dest: "h", dstart: 0, dend: 1
(essentially overwriting the entire text each time)

This is not just one IME behaving like this...

Anyone else experience this?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to