Fix _edje_entry_cursor_end function.
authorbdilly <bdilly@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 27 May 2010 22:18:37 +0000 (22:18 +0000)
committerbdilly <bdilly@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 27 May 2010 22:18:37 +0000 (22:18 +0000)
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

index 2bcc1d0..eb4d6af 100644 (file)
@@ -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