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...
Type: Posts; User: copeg
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...
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...