summaryrefslogtreecommitdiff
path: root/legacy/edje
diff options
context:
space:
mode:
authorJihoon Kim <imfine98@gmail.com>2012-11-02 08:15:58 +0000
committerJihoon Kim <imfine98@gmail.com>2012-11-02 08:15:58 +0000
commit6ba18e57d2439c73482f1c4e19f179a159a47991 (patch)
tree9267834ca6c18686137d9c8532b2419dc47f89b5 /legacy/edje
parentd5609b7f6200459e38236418658d8627b085b6ee (diff)
edje_entry: remove trailingspace
SVN revision: 78837
Diffstat (limited to 'legacy/edje')
-rw-r--r--legacy/edje/src/lib/edje_entry.c102
1 files changed, 51 insertions, 51 deletions
diff --git a/legacy/edje/src/lib/edje_entry.c b/legacy/edje/src/lib/edje_entry.c
index 8b8b0d595b..2a9d24922b 100644
--- a/legacy/edje/src/lib/edje_entry.c
+++ b/legacy/edje/src/lib/edje_entry.c
@@ -1181,7 +1181,7 @@ static void
1181_compose_seq_reset(Entry *en) 1181_compose_seq_reset(Entry *en)
1182{ 1182{
1183 char *str; 1183 char *str;
1184 1184
1185 EINA_LIST_FREE(en->seq, str) eina_stringshare_del(str); 1185 EINA_LIST_FREE(en->seq, str) eina_stringshare_del(str);
1186 en->composing = EINA_FALSE; 1186 en->composing = EINA_FALSE;
1187} 1187}
@@ -1624,7 +1624,7 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1624 char *compres = NULL, *string = (char *)ev->string; 1624 char *compres = NULL, *string = (char *)ev->string;
1625 Eina_Bool free_string = EINA_FALSE; 1625 Eina_Bool free_string = EINA_FALSE;
1626 Ecore_Compose_State state; 1626 Ecore_Compose_State state;
1627 1627
1628 if (!en->composing) 1628 if (!en->composing)
1629 { 1629 {
1630 _compose_seq_reset(en); 1630 _compose_seq_reset(en);
@@ -1914,7 +1914,7 @@ _edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
1914 { 1914 {
1915 Evas_Textblock_Rectangle *r1, *r2; 1915 Evas_Textblock_Rectangle *r1, *r2;
1916 Evas_Coord d, d1, d2; 1916 Evas_Coord d, d1, d2;
1917 1917
1918 r1 = first->data; 1918 r1 = first->data;
1919 r2 = last->data; 1919 r2 = last->data;
1920 d = r1->x - cx; 1920 d = r1->x - cx;
@@ -2372,7 +2372,7 @@ void
2372_edje_entry_real_part_shutdown(Edje_Real_Part *rp) 2372_edje_entry_real_part_shutdown(Edje_Real_Part *rp)
2373{ 2373{
2374 Entry *en; 2374 Entry *en;
2375 2375
2376 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2376 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2377 (!rp->typedata.text)) return; 2377 (!rp->typedata.text)) return;
2378 en = rp->typedata.text->entry_data; 2378 en = rp->typedata.text->entry_data;
@@ -2411,7 +2411,7 @@ _edje_entry_real_part_shutdown(Edje_Real_Part *rp)
2411 } 2411 }
2412#endif 2412#endif
2413 _compose_seq_reset(en); 2413 _compose_seq_reset(en);
2414 2414
2415 free(en); 2415 free(en);
2416} 2416}
2417 2417
@@ -2421,7 +2421,7 @@ _edje_entry_real_part_configure(Edje_Real_Part *rp)
2421 Evas_Coord x, y, w, h, xx, yy, ww, hh; 2421 Evas_Coord x, y, w, h, xx, yy, ww, hh;
2422 Entry *en; 2422 Entry *en;
2423 Evas_Textblock_Cursor_Type cur_type; 2423 Evas_Textblock_Cursor_Type cur_type;
2424 2424
2425 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2425 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2426 (!rp->typedata.text)) return; 2426 (!rp->typedata.text)) return;
2427 en = rp->typedata.text->entry_data; 2427 en = rp->typedata.text->entry_data;
@@ -2461,7 +2461,7 @@ const char *
2461_edje_entry_selection_get(Edje_Real_Part *rp) 2461_edje_entry_selection_get(Edje_Real_Part *rp)
2462{ 2462{
2463 Entry *en; 2463 Entry *en;
2464 2464
2465 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2465 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2466 (!rp->typedata.text)) return NULL; 2466 (!rp->typedata.text)) return NULL;
2467 en = rp->typedata.text->entry_data; 2467 en = rp->typedata.text->entry_data;
@@ -2477,7 +2477,7 @@ const char *
2477_edje_entry_text_get(Edje_Real_Part *rp) 2477_edje_entry_text_get(Edje_Real_Part *rp)
2478{ 2478{
2479 Entry *en; 2479 Entry *en;
2480 2480
2481 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2481 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2482 (!rp->typedata.text)) return NULL; 2482 (!rp->typedata.text)) return NULL;
2483 en = rp->typedata.text->entry_data; 2483 en = rp->typedata.text->entry_data;
@@ -2490,7 +2490,7 @@ void
2490_edje_entry_text_markup_set(Edje_Real_Part *rp, const char *text) 2490_edje_entry_text_markup_set(Edje_Real_Part *rp, const char *text)
2491{ 2491{
2492 Entry *en; 2492 Entry *en;
2493 2493
2494 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2494 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2495 (!rp->typedata.text)) return; 2495 (!rp->typedata.text)) return;
2496 en = rp->typedata.text->entry_data; 2496 en = rp->typedata.text->entry_data;
@@ -2516,7 +2516,7 @@ void
2516_edje_entry_text_markup_append(Edje_Real_Part *rp, const char *text) 2516_edje_entry_text_markup_append(Edje_Real_Part *rp, const char *text)
2517{ 2517{
2518 Entry *en; 2518 Entry *en;
2519 2519
2520 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2520 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2521 (!rp->typedata.text)) return; 2521 (!rp->typedata.text)) return;
2522 en = rp->typedata.text->entry_data; 2522 en = rp->typedata.text->entry_data;
@@ -2539,7 +2539,7 @@ void
2539_edje_entry_text_markup_insert(Edje_Real_Part *rp, const char *text) 2539_edje_entry_text_markup_insert(Edje_Real_Part *rp, const char *text)
2540{ 2540{
2541 Entry *en; 2541 Entry *en;
2542 2542
2543 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2543 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2544 (!rp->typedata.text)) return; 2544 (!rp->typedata.text)) return;
2545 en = rp->typedata.text->entry_data; 2545 en = rp->typedata.text->entry_data;
@@ -2564,7 +2564,7 @@ void
2564_edje_entry_set_cursor_start(Edje_Real_Part *rp) 2564_edje_entry_set_cursor_start(Edje_Real_Part *rp)
2565{ 2565{
2566 Entry *en; 2566 Entry *en;
2567 2567
2568 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2568 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2569 (!rp->typedata.text)) return; 2569 (!rp->typedata.text)) return;
2570 en = rp->typedata.text->entry_data; 2570 en = rp->typedata.text->entry_data;
@@ -2578,7 +2578,7 @@ void
2578_edje_entry_set_cursor_end(Edje_Real_Part *rp) 2578_edje_entry_set_cursor_end(Edje_Real_Part *rp)
2579{ 2579{
2580 Entry *en; 2580 Entry *en;
2581 2581
2582 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2582 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2583 (!rp->typedata.text)) return; 2583 (!rp->typedata.text)) return;
2584 en = rp->typedata.text->entry_data; 2584 en = rp->typedata.text->entry_data;
@@ -2592,7 +2592,7 @@ void
2592_edje_entry_select_none(Edje_Real_Part *rp) 2592_edje_entry_select_none(Edje_Real_Part *rp)
2593{ 2593{
2594 Entry *en; 2594 Entry *en;
2595 2595
2596 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2596 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2597 (!rp->typedata.text)) return; 2597 (!rp->typedata.text)) return;
2598 en = rp->typedata.text->entry_data; 2598 en = rp->typedata.text->entry_data;
@@ -2604,7 +2604,7 @@ void
2604_edje_entry_select_all(Edje_Real_Part *rp) 2604_edje_entry_select_all(Edje_Real_Part *rp)
2605{ 2605{
2606 Entry *en; 2606 Entry *en;
2607 2607
2608 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2608 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2609 (!rp->typedata.text)) return; 2609 (!rp->typedata.text)) return;
2610 en = rp->typedata.text->entry_data; 2610 en = rp->typedata.text->entry_data;
@@ -2627,7 +2627,7 @@ void
2627_edje_entry_select_begin(Edje_Real_Part *rp) 2627_edje_entry_select_begin(Edje_Real_Part *rp)
2628{ 2628{
2629 Entry *en; 2629 Entry *en;
2630 2630
2631 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2631 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2632 (!rp->typedata.text)) return; 2632 (!rp->typedata.text)) return;
2633 en = rp->typedata.text->entry_data; 2633 en = rp->typedata.text->entry_data;
@@ -2649,7 +2649,7 @@ void
2649_edje_entry_select_extend(Edje_Real_Part *rp) 2649_edje_entry_select_extend(Edje_Real_Part *rp)
2650{ 2650{
2651 Entry *en; 2651 Entry *en;
2652 2652
2653 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2653 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2654 (!rp->typedata.text)) return; 2654 (!rp->typedata.text)) return;
2655 en = rp->typedata.text->entry_data; 2655 en = rp->typedata.text->entry_data;
@@ -2761,7 +2761,7 @@ _edje_entry_cursor_geometry_get(Edje_Real_Part *rp, Evas_Coord *cx, Evas_Coord *
2761 Evas_Coord x, y, w, h, xx, yy, ww, hh; 2761 Evas_Coord x, y, w, h, xx, yy, ww, hh;
2762 Entry *en; 2762 Entry *en;
2763 Evas_Textblock_Cursor_Type cur_type; 2763 Evas_Textblock_Cursor_Type cur_type;
2764 2764
2765 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2765 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2766 (!rp->typedata.text)) return; 2766 (!rp->typedata.text)) return;
2767 en = rp->typedata.text->entry_data; 2767 en = rp->typedata.text->entry_data;
@@ -2835,7 +2835,7 @@ void
2835_edje_entry_select_allow_set(Edje_Real_Part *rp, Eina_Bool allow) 2835_edje_entry_select_allow_set(Edje_Real_Part *rp, Eina_Bool allow)
2836{ 2836{
2837 Entry *en; 2837 Entry *en;
2838 2838
2839 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2839 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2840 (!rp->typedata.text)) return; 2840 (!rp->typedata.text)) return;
2841 en = rp->typedata.text->entry_data; 2841 en = rp->typedata.text->entry_data;
@@ -2849,7 +2849,7 @@ Eina_Bool
2849_edje_entry_select_allow_get(const Edje_Real_Part *rp) 2849_edje_entry_select_allow_get(const Edje_Real_Part *rp)
2850{ 2850{
2851 Entry *en; 2851 Entry *en;
2852 2852
2853 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2853 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2854 (!rp->typedata.text)) return EINA_FALSE; 2854 (!rp->typedata.text)) return EINA_FALSE;
2855 en = rp->typedata.text->entry_data; 2855 en = rp->typedata.text->entry_data;
@@ -2861,7 +2861,7 @@ void
2861_edje_entry_select_abort(Edje_Real_Part *rp) 2861_edje_entry_select_abort(Edje_Real_Part *rp)
2862{ 2862{
2863 Entry *en; 2863 Entry *en;
2864 2864
2865 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2865 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2866 (!rp->typedata.text)) return; 2866 (!rp->typedata.text)) return;
2867 en = rp->typedata.text->entry_data; 2867 en = rp->typedata.text->entry_data;
@@ -2880,7 +2880,7 @@ void *
2880_edje_entry_imf_context_get(Edje_Real_Part *rp) 2880_edje_entry_imf_context_get(Edje_Real_Part *rp)
2881{ 2881{
2882 Entry *en; 2882 Entry *en;
2883 2883
2884 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2884 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2885 (!rp->typedata.text)) return NULL; 2885 (!rp->typedata.text)) return NULL;
2886 en = rp->typedata.text->entry_data; 2886 en = rp->typedata.text->entry_data;
@@ -2897,7 +2897,7 @@ void
2897_edje_entry_autocapital_type_set(Edje_Real_Part *rp, Edje_Text_Autocapital_Type autocapital_type) 2897_edje_entry_autocapital_type_set(Edje_Real_Part *rp, Edje_Text_Autocapital_Type autocapital_type)
2898{ 2898{
2899 Entry *en; 2899 Entry *en;
2900 2900
2901 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2901 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2902 (!rp->typedata.text)) return; 2902 (!rp->typedata.text)) return;
2903 en = rp->typedata.text->entry_data; 2903 en = rp->typedata.text->entry_data;
@@ -2916,7 +2916,7 @@ Edje_Text_Autocapital_Type
2916_edje_entry_autocapital_type_get(Edje_Real_Part *rp) 2916_edje_entry_autocapital_type_get(Edje_Real_Part *rp)
2917{ 2917{
2918 Entry *en; 2918 Entry *en;
2919 2919
2920 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2920 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2921 (!rp->typedata.text)) return EDJE_TEXT_AUTOCAPITAL_TYPE_NONE; 2921 (!rp->typedata.text)) return EDJE_TEXT_AUTOCAPITAL_TYPE_NONE;
2922 en = rp->typedata.text->entry_data; 2922 en = rp->typedata.text->entry_data;
@@ -2934,7 +2934,7 @@ void
2934_edje_entry_prediction_allow_set(Edje_Real_Part *rp, Eina_Bool prediction) 2934_edje_entry_prediction_allow_set(Edje_Real_Part *rp, Eina_Bool prediction)
2935{ 2935{
2936 Entry *en; 2936 Entry *en;
2937 2937
2938 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2938 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2939 (!rp->typedata.text)) return; 2939 (!rp->typedata.text)) return;
2940 en = rp->typedata.text->entry_data; 2940 en = rp->typedata.text->entry_data;
@@ -2950,7 +2950,7 @@ Eina_Bool
2950_edje_entry_prediction_allow_get(Edje_Real_Part *rp) 2950_edje_entry_prediction_allow_get(Edje_Real_Part *rp)
2951{ 2951{
2952 Entry *en; 2952 Entry *en;
2953 2953
2954 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2954 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2955 (!rp->typedata.text)) return EINA_FALSE; 2955 (!rp->typedata.text)) return EINA_FALSE;
2956 en = rp->typedata.text->entry_data; 2956 en = rp->typedata.text->entry_data;
@@ -2962,7 +2962,7 @@ void
2962_edje_entry_input_panel_enabled_set(Edje_Real_Part *rp, Eina_Bool enabled) 2962_edje_entry_input_panel_enabled_set(Edje_Real_Part *rp, Eina_Bool enabled)
2963{ 2963{
2964 Entry *en; 2964 Entry *en;
2965 2965
2966 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2966 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2967 (!rp->typedata.text)) return; 2967 (!rp->typedata.text)) return;
2968 en = rp->typedata.text->entry_data; 2968 en = rp->typedata.text->entry_data;
@@ -2978,7 +2978,7 @@ Eina_Bool
2978_edje_entry_input_panel_enabled_get(Edje_Real_Part *rp) 2978_edje_entry_input_panel_enabled_get(Edje_Real_Part *rp)
2979{ 2979{
2980 Entry *en; 2980 Entry *en;
2981 2981
2982 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2982 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2983 (!rp->typedata.text)) return EINA_FALSE; 2983 (!rp->typedata.text)) return EINA_FALSE;
2984 en = rp->typedata.text->entry_data; 2984 en = rp->typedata.text->entry_data;
@@ -2990,7 +2990,7 @@ void
2990_edje_entry_input_panel_show(Edje_Real_Part *rp) 2990_edje_entry_input_panel_show(Edje_Real_Part *rp)
2991{ 2991{
2992 Entry *en; 2992 Entry *en;
2993 2993
2994 if ((rp->type != EDJE_RP_TYPE_TEXT) || 2994 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
2995 (!rp->typedata.text)) return; 2995 (!rp->typedata.text)) return;
2996 en = rp->typedata.text->entry_data; 2996 en = rp->typedata.text->entry_data;
@@ -3005,7 +3005,7 @@ void
3005_edje_entry_input_panel_hide(Edje_Real_Part *rp) 3005_edje_entry_input_panel_hide(Edje_Real_Part *rp)
3006{ 3006{
3007 Entry *en; 3007 Entry *en;
3008 3008
3009 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3009 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3010 (!rp->typedata.text)) return; 3010 (!rp->typedata.text)) return;
3011 en = rp->typedata.text->entry_data; 3011 en = rp->typedata.text->entry_data;
@@ -3020,7 +3020,7 @@ void
3020_edje_entry_input_panel_language_set(Edje_Real_Part *rp, Edje_Input_Panel_Lang lang) 3020_edje_entry_input_panel_language_set(Edje_Real_Part *rp, Edje_Input_Panel_Lang lang)
3021{ 3021{
3022 Entry *en; 3022 Entry *en;
3023 3023
3024 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3024 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3025 (!rp->typedata.text)) return; 3025 (!rp->typedata.text)) return;
3026 en = rp->typedata.text->entry_data; 3026 en = rp->typedata.text->entry_data;
@@ -3036,7 +3036,7 @@ Edje_Input_Panel_Lang
3036_edje_entry_input_panel_language_get(Edje_Real_Part *rp) 3036_edje_entry_input_panel_language_get(Edje_Real_Part *rp)
3037{ 3037{
3038 Entry *en; 3038 Entry *en;
3039 3039
3040 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3040 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3041 (!rp->typedata.text)) return EDJE_INPUT_PANEL_LANG_AUTOMATIC; 3041 (!rp->typedata.text)) return EDJE_INPUT_PANEL_LANG_AUTOMATIC;
3042 en = rp->typedata.text->entry_data; 3042 en = rp->typedata.text->entry_data;
@@ -3053,7 +3053,7 @@ _edje_entry_input_panel_imdata_set(Edje_Real_Part *rp, const void *data __UNUSED
3053#endif 3053#endif
3054{ 3054{
3055 Entry *en; 3055 Entry *en;
3056 3056
3057 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3057 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3058 (!rp->typedata.text)) return; 3058 (!rp->typedata.text)) return;
3059 en = rp->typedata.text->entry_data; 3059 en = rp->typedata.text->entry_data;
@@ -3073,7 +3073,7 @@ _edje_entry_input_panel_imdata_get(Edje_Real_Part *rp, void *data __UNUSED__, in
3073#endif 3073#endif
3074{ 3074{
3075 Entry *en; 3075 Entry *en;
3076 3076
3077 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3077 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3078 (!rp->typedata.text)) return; 3078 (!rp->typedata.text)) return;
3079 en = rp->typedata.text->entry_data; 3079 en = rp->typedata.text->entry_data;
@@ -3093,7 +3093,7 @@ _edje_entry_input_panel_return_key_type_set(Edje_Real_Part *rp, Edje_Input_Panel
3093#endif 3093#endif
3094{ 3094{
3095 Entry *en; 3095 Entry *en;
3096 3096
3097 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3097 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3098 (!rp->typedata.text)) return; 3098 (!rp->typedata.text)) return;
3099 en = rp->typedata.text->entry_data; 3099 en = rp->typedata.text->entry_data;
@@ -3108,7 +3108,7 @@ Edje_Input_Panel_Return_Key_Type
3108_edje_entry_input_panel_return_key_type_get(Edje_Real_Part *rp) 3108_edje_entry_input_panel_return_key_type_get(Edje_Real_Part *rp)
3109{ 3109{
3110 Entry *en; 3110 Entry *en;
3111 3111
3112 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3112 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3113 (!rp->typedata.text)) return EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT; 3113 (!rp->typedata.text)) return EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT;
3114 en = rp->typedata.text->entry_data; 3114 en = rp->typedata.text->entry_data;
@@ -3129,7 +3129,7 @@ _edje_entry_input_panel_return_key_disabled_set(Edje_Real_Part *rp, Eina_Bool di
3129#endif 3129#endif
3130{ 3130{
3131 Entry *en; 3131 Entry *en;
3132 3132
3133 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3133 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3134 (!rp->typedata.text)) return; 3134 (!rp->typedata.text)) return;
3135 en = rp->typedata.text->entry_data; 3135 en = rp->typedata.text->entry_data;
@@ -3144,7 +3144,7 @@ Eina_Bool
3144_edje_entry_input_panel_return_key_disabled_get(Edje_Real_Part *rp) 3144_edje_entry_input_panel_return_key_disabled_get(Edje_Real_Part *rp)
3145{ 3145{
3146 Entry *en; 3146 Entry *en;
3147 3147
3148 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3148 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3149 (!rp->typedata.text)) return EINA_FALSE; 3149 (!rp->typedata.text)) return EINA_FALSE;
3150 en = rp->typedata.text->entry_data; 3150 en = rp->typedata.text->entry_data;
@@ -3160,7 +3160,7 @@ static Evas_Textblock_Cursor *
3160_cursor_get(Edje_Real_Part *rp, Edje_Cursor cur) 3160_cursor_get(Edje_Real_Part *rp, Edje_Cursor cur)
3161{ 3161{
3162 Entry *en; 3162 Entry *en;
3163 3163
3164 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3164 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3165 (!rp->typedata.text)) return NULL; 3165 (!rp->typedata.text)) return NULL;
3166 en = rp->typedata.text->entry_data; 3166 en = rp->typedata.text->entry_data;
@@ -3200,12 +3200,12 @@ _edje_entry_cursor_next(Edje_Real_Part *rp, Edje_Cursor cur)
3200{ 3200{
3201 Entry *en; 3201 Entry *en;
3202 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3202 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
3203 3203
3204 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3204 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3205 (!rp->typedata.text)) return EINA_FALSE; 3205 (!rp->typedata.text)) return EINA_FALSE;
3206 en = rp->typedata.text->entry_data; 3206 en = rp->typedata.text->entry_data;
3207 if (!en) return EINA_FALSE; 3207 if (!en) return EINA_FALSE;
3208 3208
3209 if (!c) return EINA_FALSE; 3209 if (!c) return EINA_FALSE;
3210 3210
3211 _edje_entry_imf_context_reset(rp); 3211 _edje_entry_imf_context_reset(rp);
@@ -3227,7 +3227,7 @@ _edje_entry_cursor_prev(Edje_Real_Part *rp, Edje_Cursor cur)
3227{ 3227{
3228 Entry *en; 3228 Entry *en;
3229 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3229 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
3230 3230
3231 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3231 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3232 (!rp->typedata.text)) return EINA_FALSE; 3232 (!rp->typedata.text)) return EINA_FALSE;
3233 en = rp->typedata.text->entry_data; 3233 en = rp->typedata.text->entry_data;
@@ -3258,7 +3258,7 @@ _edje_entry_cursor_up(Edje_Real_Part *rp, Edje_Cursor cur)
3258 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3258 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
3259 Evas_Coord lx, ly, lw, lh, cx, cy, cw, ch; 3259 Evas_Coord lx, ly, lw, lh, cx, cy, cw, ch;
3260 int ln; 3260 int ln;
3261 3261
3262 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3262 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3263 (!rp->typedata.text)) return EINA_FALSE; 3263 (!rp->typedata.text)) return EINA_FALSE;
3264 en = rp->typedata.text->entry_data; 3264 en = rp->typedata.text->entry_data;
@@ -3332,7 +3332,7 @@ _edje_entry_cursor_begin(Edje_Real_Part *rp, Edje_Cursor cur)
3332{ 3332{
3333 Entry *en; 3333 Entry *en;
3334 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3334 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
3335 3335
3336 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3336 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3337 (!rp->typedata.text)) return; 3337 (!rp->typedata.text)) return;
3338 en = rp->typedata.text->entry_data; 3338 en = rp->typedata.text->entry_data;
@@ -3354,7 +3354,7 @@ _edje_entry_cursor_end(Edje_Real_Part *rp, Edje_Cursor cur)
3354{ 3354{
3355 Entry *en; 3355 Entry *en;
3356 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3356 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
3357 3357
3358 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3358 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3359 (!rp->typedata.text)) return; 3359 (!rp->typedata.text)) return;
3360 en = rp->typedata.text->entry_data; 3360 en = rp->typedata.text->entry_data;
@@ -3401,7 +3401,7 @@ _edje_entry_cursor_line_begin(Edje_Real_Part *rp, Edje_Cursor cur)
3401{ 3401{
3402 Entry *en; 3402 Entry *en;
3403 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3403 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
3404 3404
3405 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3405 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3406 (!rp->typedata.text)) return; 3406 (!rp->typedata.text)) return;
3407 en = rp->typedata.text->entry_data; 3407 en = rp->typedata.text->entry_data;
@@ -3423,7 +3423,7 @@ _edje_entry_cursor_line_end(Edje_Real_Part *rp, Edje_Cursor cur)
3423{ 3423{
3424 Entry *en; 3424 Entry *en;
3425 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3425 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
3426 3426
3427 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3427 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3428 (!rp->typedata.text)) return; 3428 (!rp->typedata.text)) return;
3429 en = rp->typedata.text->entry_data; 3429 en = rp->typedata.text->entry_data;
@@ -3486,7 +3486,7 @@ _edje_entry_cursor_pos_set(Edje_Real_Part *rp, Edje_Cursor cur, int pos)
3486{ 3486{
3487 Entry *en; 3487 Entry *en;
3488 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3488 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
3489 3489
3490 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3490 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3491 (!rp->typedata.text)) return; 3491 (!rp->typedata.text)) return;
3492 en = rp->typedata.text->entry_data; 3492 en = rp->typedata.text->entry_data;
@@ -3517,7 +3517,7 @@ void
3517_edje_entry_input_panel_layout_set(Edje_Real_Part *rp, Edje_Input_Panel_Layout layout) 3517_edje_entry_input_panel_layout_set(Edje_Real_Part *rp, Edje_Input_Panel_Layout layout)
3518{ 3518{
3519 Entry *en; 3519 Entry *en;
3520 3520
3521 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3521 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3522 (!rp->typedata.text)) return; 3522 (!rp->typedata.text)) return;
3523 en = rp->typedata.text->entry_data; 3523 en = rp->typedata.text->entry_data;
@@ -3534,7 +3534,7 @@ Edje_Input_Panel_Layout
3534_edje_entry_input_panel_layout_get(Edje_Real_Part *rp) 3534_edje_entry_input_panel_layout_get(Edje_Real_Part *rp)
3535{ 3535{
3536 Entry *en; 3536 Entry *en;
3537 3537
3538 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3538 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3539 (!rp->typedata.text)) return EDJE_INPUT_PANEL_LAYOUT_INVALID; 3539 (!rp->typedata.text)) return EDJE_INPUT_PANEL_LAYOUT_INVALID;
3540 en = rp->typedata.text->entry_data; 3540 en = rp->typedata.text->entry_data;
@@ -3551,7 +3551,7 @@ void
3551_edje_entry_imf_context_reset(Edje_Real_Part *rp) 3551_edje_entry_imf_context_reset(Edje_Real_Part *rp)
3552{ 3552{
3553 Entry *en; 3553 Entry *en;
3554 3554
3555 if ((rp->type != EDJE_RP_TYPE_TEXT) || 3555 if ((rp->type != EDJE_RP_TYPE_TEXT) ||
3556 (!rp->typedata.text)) return; 3556 (!rp->typedata.text)) return;
3557 en = rp->typedata.text->entry_data; 3557 en = rp->typedata.text->entry_data;