Eina_Bool autocapital : 1;
Eina_Bool uppercase : 1;
Eina_Bool autoperiod : 1;
+ Eina_Bool need_commit : 1;
int select_dragging_state;
double space_key_time;
rp->entry_data = en;
en->rp = rp;
en->autoperiod = EINA_TRUE;
+ en->need_commit = EINA_TRUE;
#ifdef HAVE_ECORE_IMF
en->input_panel_enable = _edje_input_panel_enable;
#ifdef HAVE_ECORE_IMF
if ((en->have_preedit) && (en->imf_context))
{
+ en->need_commit = EINA_FALSE;
ecore_imf_context_reset(en->imf_context);
- ecore_main_loop_iterate();
}
#endif
-
evas_object_textblock_text_markup_set(rp->object, text);
_anchors_get(en->cursor, rp->object, en);
}
}
+ if (!en->need_commit)
+ {
+ en->need_commit = EINA_TRUE;
+ return ECORE_CALLBACK_PASS_ON;
+ }
+
tc = evas_object_textblock_cursor_new(rp->object);
/* calculate the cursor position to insert commit string */