On 22.10.2010 15:02, Sebastian Kaspari wrote:
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
I will have a look, thanks for giving it a try so quickly. Best regards.

