语言

Menu
Sites
Language
Tizen Entry Selection

Hello,

Working with entry I'd face some problems with selection feature.

Tizen entry got elm_entry_cursor_postion_get() function, which return us current cursor position while text entering. Is there any API to knew the cursor postions while selecting some text? Please see screenshot

http://postimg.org/image/f9js1pdxx

 

 

响应

2 回复
Alex Dem

Hi,
Looks like impossible, with smart callback you are able to track "selection,changed" / "selection,start" etc emitted signals only. Also you are able to get selected text with elm_entry_selection_get but i did not find a way how to determine start/end position of selected region.
Alexey.

Alex Dem


But it could be comfortable for developers if such api will be presented in futher releases.
Alexey.