From cf8251a372be88e30a46be2f9cf2f1e5ffc453cc Mon Sep 17 00:00:00 2001 From: bdilly 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. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49242 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_entry.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index 2bcc1d0..eb4d6af 100644 --- a/src/lib/edje_entry.c +++ b/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 -- 2.7.4