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
This commit is contained in:
Bruno Dilly 2010-05-27 22:18:37 +00:00
parent 930fdce0ee
commit 66c015f3cc
1 changed files with 1 additions and 2 deletions

View 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