momodalo / vimtouch

vimtouch
Apache License 2.0
350 stars 71 forks source link

Integrate with Android InputConnection #5

Closed momodalo closed 11 years ago

momodalo commented 11 years ago

Implement the onCreateInputConnection and InputConnection to integrate with Android IME framework and leverage the auto-complete and auto-correction(?).

momodalo commented 11 years ago

I found the ml_get_curline(), ml_replace(), ml_append() are usable for auto complete/correction. I will start it and finish it before v1.7

momodalo commented 11 years ago

More information, can reference to the GekoInputConnection implementation https://wiki.mozilla.org/Mobile/IME

momodalo commented 11 years ago

https://github.com/momodalo/vimtouch/commit/b618ff191fe85591ab52df4c39bc0b5863d13876 Should be done but will close after first release(v1.7)