Edje edje_entry.c: Fixed formatting. Patch by Jihoon Kim

<jihoon48.kim@samsung.com>


SVN revision: 58370
This commit is contained in:
Daniel Juyung Seo 2011-04-06 01:20:59 +00:00
parent cad16fd3cd
commit 87271e150e
1 changed files with 121 additions and 122 deletions

View File

@ -903,7 +903,7 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
_anchors_clear(c, o, en);
c1 = evas_object_textblock_cursor_new(o);
node = evas_textblock_node_format_first_get(o);
for (; node ; node = evas_textblock_node_format_next_get(node))
for (; node; node = evas_textblock_node_format_next_get(node))
{
const char *s;
@ -1845,7 +1845,7 @@ _edje_entry_real_part_init(Edje_Real_Part *rp)
{
Edje_Part_Description_Text *txt;
txt = (Edje_Part_Description_Text *) rp->chosen_description;
txt = (Edje_Part_Description_Text *)rp->chosen_description;
en->select_allow = EINA_FALSE;
if (txt && edje_string_get(&txt->text.repch))
@ -2419,7 +2419,7 @@ _edje_entry_cursor_up(Edje_Real_Part *rp, Edje_Cursor cur)
evas_textblock_cursor_char_geometry_get(c, &cx, &cy, &cw, &ch);
if (!evas_textblock_cursor_char_coord_set(c, cx, ly + (lh / 2)))
{
if (cx < (lx +(lw / 2)))
if (cx < (lx + (lw / 2)))
evas_textblock_cursor_line_char_last(c);
else
evas_textblock_cursor_line_char_last(c);
@ -2457,7 +2457,7 @@ _edje_entry_cursor_down(Edje_Real_Part *rp, Edje_Cursor cur)
evas_textblock_cursor_char_geometry_get(c, &cx, &cy, &cw, &ch);
if (!evas_textblock_cursor_char_coord_set(c, cx, ly + (lh / 2)))
{
if (cx < (lx +(lw / 2)))
if (cx < (lx + (lw / 2)))
evas_textblock_cursor_line_char_last(c);
else
evas_textblock_cursor_line_char_last(c);
@ -2598,7 +2598,6 @@ _edje_entry_cursor_line_end(Edje_Real_Part *rp, Edje_Cursor cur)
_edje_entry_real_part_configure(rp);
}
Eina_Bool
_edje_entry_cursor_coord_set(Edje_Real_Part *rp, Edje_Cursor cur,
Evas_Coord x, Evas_Coord y)
@ -2677,7 +2676,7 @@ _edje_entry_cursor_pos_get(Edje_Real_Part *rp, Edje_Cursor cur)
static Eina_Bool
_edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx __UNUSED__, char **text, int *cursor_pos)
{
Edje* ed = data;
Edje *ed = data;
Edje_Real_Part *rp = ed->focused_part;
Entry *en;
const char *str;
@ -2703,7 +2702,7 @@ _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx __UNU
static Eina_Bool
_edje_entry_imf_event_commit_cb(void *data, int type __UNUSED__, void *event)
{
Edje* ed = data;
Edje *ed = data;
Edje_Real_Part *rp = ed->focused_part;
Entry *en;
Ecore_IMF_Event_Commit *ev = event;
@ -2770,7 +2769,7 @@ _edje_entry_imf_event_commit_cb(void *data, int type __UNUSED__, void *event)
static Eina_Bool
_edje_entry_imf_event_preedit_changed_cb(void *data, int type __UNUSED__, void *event)
{
Edje* ed = data;
Edje *ed = data;
Edje_Real_Part *rp = ed->focused_part;
Entry *en;
Ecore_IMF_Event_Preedit_Changed *ev = event;