edje_entry.c: fix formatting

SVN revision: 68148
This commit is contained in:
Jihoon Kim 2012-02-20 08:51:55 +00:00
parent 19f99fce57
commit d95f9820c1
1 changed files with 9 additions and 9 deletions

View File

@ -958,7 +958,7 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
char *p; char *p;
an = calloc(1, sizeof(Anchor)); an = calloc(1, sizeof(Anchor));
if (!an) if (!an)
break; break;
an->en = en; an->en = en;
p = strstr(s, "href="); p = strstr(s, "href=");
@ -979,7 +979,7 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
{ {
s = evas_textblock_node_format_text_get(node); s = evas_textblock_node_format_text_get(node);
if ((!strcmp(s, "- a")) || (!strcmp(s, "-a"))) if ((!strcmp(s, "- a")) || (!strcmp(s, "-a")))
break; break;
} }
if (node) if (node)
@ -1008,7 +1008,7 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
char *p; char *p;
an = calloc(1, sizeof(Anchor)); an = calloc(1, sizeof(Anchor));
if (!an) if (!an)
break; break;
an->en = en; an->en = en;
an->item = 1; an->item = 1;
@ -1117,7 +1117,7 @@ _edje_entry_hide_visible_password(Edje_Real_Part *rp)
if (!strcmp(text, "+ password=off")) if (!strcmp(text, "+ password=off"))
{ {
evas_textblock_node_format_remove_pair(rp->object, evas_textblock_node_format_remove_pair(rp->object,
(Evas_Object_Textblock_Node_Format *) node); (Evas_Object_Textblock_Node_Format *) node);
break; break;
} }
} }
@ -1780,7 +1780,7 @@ _edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
_edje_emit(rp->edje, "cursor,changed,manual", rp->part->name); _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
} }
evas_textblock_cursor_free(tc); evas_textblock_cursor_free(tc);
_edje_entry_imf_cursor_info_set(en); _edje_entry_imf_cursor_info_set(en);
_edje_entry_real_part_configure(rp); _edje_entry_real_part_configure(rp);
@ -2195,9 +2195,9 @@ _edje_entry_real_part_shutdown(Edje_Real_Part *rp)
{ {
if (en->imf_context) if (en->imf_context)
{ {
ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_COMMIT, _edje_entry_imf_event_commit_cb); ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_COMMIT, _edje_entry_imf_event_commit_cb);
ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_DELETE_SURROUNDING, _edje_entry_imf_event_delete_surrounding_cb); ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_DELETE_SURROUNDING, _edje_entry_imf_event_delete_surrounding_cb);
ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, _edje_entry_imf_event_preedit_changed_cb); ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, _edje_entry_imf_event_preedit_changed_cb);
ecore_imf_context_del(en->imf_context); ecore_imf_context_del(en->imf_context);
en->imf_context = NULL; en->imf_context = NULL;
@ -3025,7 +3025,7 @@ _edje_entry_cursor_pos_set(Edje_Real_Part *rp, Edje_Cursor cur, int pos)
if (!c) return; if (!c) return;
/* Abort if cursor position didn't really change */ /* Abort if cursor position didn't really change */
if (evas_textblock_cursor_pos_get(c) == pos) if (evas_textblock_cursor_pos_get(c) == pos)
return; return;
_edje_entry_imf_context_reset(rp); _edje_entry_imf_context_reset(rp);
evas_textblock_cursor_pos_set(c, pos); evas_textblock_cursor_pos_set(c, pos);