splitwise/TokenAutoComplete — pull request #54 by mchowning (2014-05-13 18:49:13+00:00)
Title: Added InputConnectionWrapper to enable reliable deletion of selected object

When a token is selected and the soft keyboard delete key is pressed, often the token immediately behind the cursor instead of the token that is selected is deleted because the soft keyboard does not always send KeyEvents, as noted in the documentation:

http://developer.android.com/reference/android/view/KeyEvent.html

Adding a custom InputConnectionWrapper remedies that problem and makes it so that pressing the delete key on the soft keyboard always (in my experience) deletes the selected item.