jaehyun pushed a commit to branch master.


commit 2e541e722ab4c2256790ea114c3a8f8db7673b12
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Mon Dec 7 17:17:29 2015 +0900

    enventor: Fix to move scroller bar to correct position for find function
    enventor creates a scroller instead of using entry's scroller for text
    editor. This causes that the scroller bar moves to incorrect position
    when a word is selected by find function. To resolve this problem, set
    entry's cursor position before setting entry's select region.
 src/lib/enventor_smart.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/enventor_smart.c b/src/lib/enventor_smart.c
index f186dc2..8d64804 100644
--- a/src/lib/enventor_smart.c
+++ b/src/lib/enventor_smart.c
@@ -536,6 +536,7 @@ _enventor_object_select_region_set(Eo *obj EINA_UNUSED,
                                    Enventor_Object_Data *pd, int start, int 
+   elm_entry_cursor_pos_set(edit_entry_get(pd->ed), start);
    elm_entry_select_region_set(edit_entry_get(pd->ed), start, end);


Reply via email to