It could be related. If possible, can you please post your code here?

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.


On Aug 2, 9:30 am, Mark Wyszomierski <mar...@gmail.com> wrote:
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to