From 66c015f3ccadf4760bcaeaec6285ccadf37950cc Mon Sep 17 00:00:00 2001 From: Bruno Dilly Date: Thu, 27 May 2010 22:18:37 +0000 Subject: [PATCH] Fix _edje_entry_cursor_end function. This fix the issue with elementary cursor end set function. The cursor is now after the last textblock node, and not before it, as it was until now. SVN revision: 49242 --- legacy/edje/src/lib/edje_entry.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/legacy/edje/src/lib/edje_entry.c b/legacy/edje/src/lib/edje_entry.c index 2bcc1d07b3..eb4d6af7d3 100644 --- a/legacy/edje/src/lib/edje_entry.c +++ b/legacy/edje/src/lib/edje_entry.c @@ -2498,8 +2498,7 @@ _edje_entry_cursor_end(Edje_Real_Part *rp, Edje_Cursor cur) Entry *en = rp->entry_data; Evas_Textblock_Cursor *c = _cursor_get(rp, cur); if (!c) return; - evas_textblock_cursor_node_last(c); - _curs_update_from_curs(c, rp->object, rp->entry_data); + _curs_end(c, rp->object, rp->entry_data); _sel_update(c, rp->object, rp->entry_data); #ifdef HAVE_ECORE_IMF