entry: add elm_entry_select_region_get() API
authorYoungbok Shin <youngb.shin@samsung.com>
Fri, 12 Feb 2016 11:18:05 +0000 (20:18 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Fri, 12 Feb 2016 11:18:05 +0000 (20:18 +0900)
commitb01d3c9e1b223ac8e4af84f69b28c7ff9641d2c3
tree0aedec6e62a2fa8dde2d0e8ee6095fb8a4956623
parente1a0dc5518e9e0bd0ed2bf0fd5300a2ae0134adb
entry: add elm_entry_select_region_get() API

Summary:
Already, there is a way to set a selection region:
elm_entry_select_region_set()
The get() API also useful and there is needs for this
inside of elm_entry.c. Add the API and replace codes
in atspi_text_selection_get with the API.
@feature

Test Plan:
1. Run "elementary_test -to entry3"
2. Make a selection on text.
3. Press "Sel" button.

Reviewers: tasn, herdsman, cedric, woohyun, Jaehyun, Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D3639
legacy/elementary/src/bin/test_entry.c
legacy/elementary/src/lib/elm_entry.c
legacy/elementary/src/lib/elm_entry.eo