From: tasn Date: Tue, 3 Jul 2012 08:52:17 +0000 (+0000) Subject: Edje entry: Fixed anchor update with user insert. X-Git-Tag: 2.0_alpha~8^2^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a1c68be13f971312747d8f35ae41d2f2cf3302e;p=framework%2Fuifw%2Fedje.git Edje entry: Fixed anchor update with user insert. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@73211 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index 2d239c1..0fc7f73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -505,3 +505,7 @@ 2012-06-24 Cedric Bail * Emit signal for flagged part when their size get to zero. + +2012-07-03 Tom Hacohen (TAsn) + + * Entry: Update anchors from user_insert as well. diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index 93af0aa..76fe219 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -2589,6 +2589,7 @@ _edje_entry_user_insert(Edje_Real_Part *rp, const char *text) } info->change.insert.pos = evas_textblock_cursor_pos_get(en->cursor); _text_filter_markup_prepend(en, en->cursor, text); + _anchors_get(en->cursor, rp->object, en); _edje_emit(rp->edje, "entry,changed", rp->part->name); _edje_emit_full(rp->edje, "entry,changed,user", rp->part->name, info, _free_entry_change_info);