Edje entry: Fixed anchor update with user insert.

SVN revision: 73211
This commit is contained in:
Tom Hacohen 2012-07-03 08:52:17 +00:00
parent 8e0f2ac706
commit 162c54fc88
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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);