From 3a1c68be13f971312747d8f35ae41d2f2cf3302e Mon Sep 17 00:00:00 2001 From: tasn Date: Tue, 3 Jul 2012 08:52:17 +0000 Subject: [PATCH] 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 --- ChangeLog | 4 ++++ src/lib/edje_entry.c | 1 + 2 files changed, 5 insertions(+) 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); -- 2.7.4