ecore_imf_context_client_canvas_set(en->imf_context, rp->edje->evas);
ecore_imf_context_retrieve_surrounding_callback_set(en->imf_context, _edje_entry_imf_retrieve_surrounding_cb, rp);
- en->imf_ee_handler_commit = ecore_event_handler_add(ECORE_IMF_EVENT_COMMIT, _edje_entry_imf_event_commit_cb, rp->edje);
+ en->imf_ee_handler_commit = ecore_event_handler_add(ECORE_IMF_EVENT_COMMIT, _edje_entry_imf_event_commit_cb, rp->edje);
en->imf_ee_handler_delete = ecore_event_handler_add(ECORE_IMF_EVENT_DELETE_SURROUNDING, _edje_entry_imf_event_delete_surrounding_cb, rp);
en->imf_ee_handler_changed = ecore_event_handler_add(ECORE_IMF_EVENT_PREEDIT_CHANGED, _edje_entry_imf_event_changed_cb, rp->edje);
ecore_imf_context_input_mode_set(en->imf_context,
_caps_mode_check(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
+
return ECORE_CALLBACK_DONE;
}
{
if (_edje_input_panel_enable == enabled) return;
_edje_input_panel_enable = enabled;
+
+ /*
+ Eina_List *l;
+ Evas_Object *data;
+ EINA_LIST_FOREACH(_edje_edjes, l, data)
+ {
+ edje_object_part_text_input_panel_enabled_set(data, "elm.text", _edje_input_panel_enable);
+ }
+ */
}
/**
{
if (_edje_autocapital == autocap) return;
_edje_autocapital = autocap;
+
+ /*
+ Eina_List *l;
+ Evas_Object *data;
+
+ EINA_LIST_FOREACH(_edje_edjes, l, data)
+ {
+ edje_object_part_text_autocapitalization_set(data, "elm.text", _edje_autocapital);
+ }
+ */
}
/**
{
if (_edje_autoperiod == autoperiod) return;
_edje_autoperiod = autoperiod;
+
+ /*
+ Eina_List *l;
+ Evas_Object *data;
+
+ EINA_LIST_FOREACH(_edje_edjes, l, data)
+ {
+ edje_object_part_text_autoperiod_set(data, "elm.text", _edje_autoperiod);
+ }
+ */
}
/**
{
Edje *ed;
Edje_Real_Part *rp;
-
+
ed = _edje_fetch(obj);
if ((!ed) || (!part)) return;
rp = _edje_real_part_recursive_get(ed, (char *)part);
if (!rp) return;
if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
- _edje_entry_autocapitalization_set(rp, autocap);
+ {
+ _edje_entry_autocapitalization_set(rp, autocap);
+ }
}
/**
rp = _edje_real_part_recursive_get(ed, (char *)part);
if (!rp) return;
if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
- _edje_entry_autoperiod_set(rp, autoperiod);
+ {
+ _edje_entry_autoperiod_set(rp, autoperiod);
+ }
}
/**
if (!es) return NULL;
return es->str;
}
+
+/* vim:set ts=8 sw=3 sts=3 expandtab cino=>5n-2f0^-2{2(0W1st0 :*/