Works great for autocompleting at the cursor position but crashes at autocompleting a selected word at the end of the line.
OutOfBoundsException (substring):
+ }
+
+ if (in_selection) {
+ Log.d("Yaaic", "Text: >" + text + "< (" + cursor + "|"
+ sel_end + ")");
+ word = text.substring(cursor, sel_end - 1);
+ } else {
+ // use the word at the curent cursor position
Can you confirm that? Tested with Android Emulator (Android 2.2, API-
Level 8)
Sebastian

