Search:

Type: Posts; User: copeg

Search: Search took 0.12 seconds.

  1. Replies
    13
    Views
    2,970

    [SOLVED] Re: selection end and start

    It is the start and end indexes of the selected text. eg consider the string "string", if 'str' is selected in the TextComponent, then getSelectionStart() should return 0. NOTE: if you are displaying...
  2. Replies
    13
    Views
    2,970

    [SOLVED] Re: selection end and start

    What do you mean by 'not exactly'? If it is off by 1 you must remember that the selections are zero offset (eg getSelectionStart() from a text component whose selection starts at the beginning of the...
Results 1 to 2 of 2