Hi, I'm trying to get the start and end position of a selection in an EditText, using:
getSelectionStart() getSelectionEnd() but the results are not what I expected when the user has selected only a portion of the text. For example, if the text in the field is "ABCDEFG", and the user selects only "CDE", both start and end are 2. I would expect start to be 2, and end to be 4. Could this problem be related to this bug: http://code.google.com/p/android/issues/detail?id=2188 or am I just misusing the API? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

