{
Entry *en = rp->entry_data;
if (!en) return;
+
// set text as markup
_sel_clear(en->cursor, rp->object, en);
evas_object_textblock_text_markup_set(rp->object, text);
_anchors_get(en->cursor, rp->object, en);
_edje_emit(rp->edje, "entry,changed", rp->part->name);
+ _edje_emit(rp->edje, "cursor,changed", rp->part->name);
_edje_entry_set_cursor_start(rp);
}
Entry *en = rp->entry_data;
if (!en) return;
_curs_start(en->cursor, rp->object, en);
+
+#ifdef HAVE_ECORE_IMF
+ if (en->imf_context)
+ ecore_imf_context_cursor_position_set(en->imf_context, 0);
+#endif
}
void
Entry *en = rp->entry_data;
if (!en) return;
_curs_end(en->cursor, rp->object, en);
+
+#ifdef HAVE_ECORE_IMF
+ if (en->imf_context)
+ ecore_imf_context_cursor_position_set(en->imf_context,
+ evas_textblock_cursor_pos_get(en->cursor));
+#endif
}
void