summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_code_widget.c')
-rw-r--r--src/lib/elementary/elm_code_widget.c89
1 files changed, 45 insertions, 44 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index 3cb4167..4456eb4 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -10,7 +10,7 @@
10#include "elm_code_widget_private.h" 10#include "elm_code_widget_private.h"
11 11
12/* FIXME: hoversel is deprecated in EO APIs */ 12/* FIXME: hoversel is deprecated in EO APIs */
13#include "elm_hoversel.eo.h" 13#include "elm_hoversel_eo.h"
14 14
15#define MY_CLASS ELM_CODE_WIDGET_CLASS 15#define MY_CLASS ELM_CODE_WIDGET_CLASS
16 16
@@ -58,17 +58,17 @@ static Eina_Unicode status_icons[] = {
58 58
59static void _elm_code_widget_resize(Elm_Code_Widget *widget, Elm_Code_Line *newline); 59static void _elm_code_widget_resize(Elm_Code_Widget *widget, Elm_Code_Line *newline);
60 60
61#include "elm_code_widget_legacy.eo.h" 61#include "elm_code_widget_legacy_eo.h"
62 62
63EAPI Evas_Object * 63EAPI Evas_Object *
64elm_code_widget_add(Evas_Object *parent, Elm_Code *code) 64elm_code_widget_add(Evas_Object *parent, Elm_Code *code)
65{ 65{
66 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL); 66 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
67 return elm_legacy_add(ELM_CODE_WIDGET_LEGACY_CLASS, parent, 67 return elm_legacy_add(ELM_CODE_WIDGET_LEGACY_CLASS, parent,
68 elm_obj_code_widget_code_set(efl_added, code)); 68 efl_ui_code_widget_code_set(efl_added, code));
69} 69}
70 70
71#include "elm_code_widget_legacy.eo.c" 71#include "elm_code_widget_legacy_eo.c"
72 72
73EOLIAN static Eo * 73EOLIAN static Eo *
74_elm_code_widget_efl_object_constructor(Eo *obj, Elm_Code_Widget_Data *pd) 74_elm_code_widget_efl_object_constructor(Eo *obj, Elm_Code_Widget_Data *pd)
@@ -175,7 +175,7 @@ _elm_code_widget_fill_line_tokens(Elm_Code_Widget *widget, Evas_Textgrid_Cell *c
175 unsigned int end, length, offset; 175 unsigned int end, length, offset;
176 unsigned int token_start_col, token_end_col; 176 unsigned int token_start_col, token_end_col;
177 177
178 offset = elm_obj_code_widget_text_left_gutter_width_get(widget); 178 offset = efl_ui_code_widget_text_left_gutter_width_get(widget);
179 length = elm_code_widget_line_text_column_width_get(widget, line) + offset; 179 length = elm_code_widget_line_text_column_width_get(widget, line) + offset;
180 180
181 EINA_LIST_FOREACH(line->tokens, item, token) 181 EINA_LIST_FOREACH(line->tokens, item, token)
@@ -397,7 +397,7 @@ _elm_code_widget_fill_line(Elm_Code_Widget *widget, Elm_Code_Widget_Data *pd, El
397 397
398 EINA_SAFETY_ON_NULL_RETURN(line); 398 EINA_SAFETY_ON_NULL_RETURN(line);
399 399
400 gutter = elm_obj_code_widget_text_left_gutter_width_get(widget); 400 gutter = efl_ui_code_widget_text_left_gutter_width_get(widget);
401 if (eina_list_count(pd->grids) < line->number) 401 if (eina_list_count(pd->grids) < line->number)
402 return; 402 return;
403 403
@@ -478,7 +478,7 @@ _elm_code_widget_fill_range(Elm_Code_Widget *widget, Elm_Code_Widget_Data *pd,
478 _elm_code_widget_fill_line(widget, pd, newline); 478 _elm_code_widget_fill_line(widget, pd, newline);
479 479
480 // if called from new line cb, no need to update whole range unless visible 480 // if called from new line cb, no need to update whole range unless visible
481 if (newline && !elm_obj_code_widget_line_visible_get(widget, newline)) 481 if (newline && !efl_ui_code_widget_line_visible_get(widget, newline))
482 return; 482 return;
483 483
484 // cursor will be shown if it should be visible 484 // cursor will be shown if it should be visible
@@ -676,7 +676,7 @@ _elm_code_widget_cursor_ensure_visible(Elm_Code_Widget *widget)
676 grid = eina_list_data_get(eina_list_nth_list(pd->grids, pd->cursor_line - 1)); 676 grid = eina_list_data_get(eina_list_nth_list(pd->grids, pd->cursor_line - 1));
677 evas_object_geometry_get(grid, NULL, &rowy, NULL, NULL); 677 evas_object_geometry_get(grid, NULL, &rowy, NULL, NULL);
678 678
679 gutter = elm_obj_code_widget_text_left_gutter_width_get(widget); 679 gutter = efl_ui_code_widget_text_left_gutter_width_get(widget);
680 curx = (pd->cursor_col + gutter - 1) * cellw; 680 curx = (pd->cursor_col + gutter - 1) * cellw;
681 cury = rowy + viewy - oy; 681 cury = rowy + viewy - oy;
682 682
@@ -705,7 +705,7 @@ _elm_code_widget_cursor_move(Elm_Code_Widget *widget, Elm_Code_Widget_Data *pd,
705 if (position < length && text[position] == '\t') 705 if (position < length && text[position] == '\t')
706 pd->cursor_col = elm_code_widget_line_text_column_width_to_position(widget, line_obj, position); 706 pd->cursor_col = elm_code_widget_line_text_column_width_to_position(widget, line_obj, position);
707 707
708 efl_event_callback_legacy_call(widget, ELM_OBJ_CODE_WIDGET_EVENT_CURSOR_CHANGED, widget); 708 efl_event_callback_legacy_call(widget, EFL_UI_CODE_WIDGET_EVENT_CURSOR_CHANGED, widget);
709 if (!pd->selection || (pd->selection && pd->selection->in_progress)) 709 if (!pd->selection || (pd->selection && pd->selection->in_progress))
710 _elm_code_widget_cursor_ensure_visible(widget); 710 _elm_code_widget_cursor_ensure_visible(widget);
711 711
@@ -737,7 +737,7 @@ _elm_code_widget_position_at_coordinates_get(Eo *obj, Elm_Code_Widget_Data *pd,
737 y = y + sy - oy; 737 y = y + sy - oy;
738 738
739 _elm_code_widget_cell_size_get(widget, &cw, &ch); 739 _elm_code_widget_cell_size_get(widget, &cw, &ch);
740 gutter = elm_obj_code_widget_text_left_gutter_width_get(widget); 740 gutter = efl_ui_code_widget_text_left_gutter_width_get(widget);
741 741
742 if (y >= 0 && ch > 0) 742 if (y >= 0 && ch > 0)
743 guess = ((double) y / ch) + 1; 743 guess = ((double) y / ch) + 1;
@@ -794,7 +794,7 @@ _elm_code_widget_geometry_for_position_get(Elm_Code_Widget *widget, Elm_Code_Wid
794 794
795 elm_code_line_text_get(line, &length); 795 elm_code_line_text_get(line, &length);
796 _elm_code_widget_cell_size_get(widget, &cellw, h); 796 _elm_code_widget_cell_size_get(widget, &cellw, h);
797 gutter = elm_obj_code_widget_text_left_gutter_width_get(widget); 797 gutter = efl_ui_code_widget_text_left_gutter_width_get(widget);
798 798
799 grid = eina_list_nth(pd->grids, row - 1); 799 grid = eina_list_nth(pd->grids, row - 1);
800 evas_object_geometry_get(grid, x, y, NULL, NULL); 800 evas_object_geometry_get(grid, x, y, NULL, NULL);
@@ -1000,7 +1000,7 @@ _elm_code_widget_clicked_gutter_cb(Elm_Code_Widget *widget, unsigned int row)
1000 return; 1000 return;
1001 } 1001 }
1002 1002
1003 efl_event_callback_legacy_call(widget, ELM_OBJ_CODE_WIDGET_EVENT_LINE_GUTTER_CLICKED, line); 1003 efl_event_callback_legacy_call(widget, EFL_UI_CODE_WIDGET_EVENT_LINE_GUTTER_CLICKED, line);
1004} 1004}
1005 1005
1006static void 1006static void
@@ -1036,7 +1036,7 @@ _elm_code_widget_clicked_readonly_cb(Elm_Code_Widget *widget, unsigned int row)
1036 if (!line) 1036 if (!line)
1037 return; 1037 return;
1038 1038
1039 efl_event_callback_legacy_call(widget, ELM_OBJ_CODE_WIDGET_EVENT_LINE_CLICKED, line); 1039 efl_event_callback_legacy_call(widget, EFL_UI_CODE_WIDGET_EVENT_LINE_CLICKED, line);
1040} 1040}
1041 1041
1042static void 1042static void
@@ -1366,7 +1366,7 @@ _elm_code_widget_cursor_move_page_height_get(Elm_Code_Widget *widget)
1366{ 1366{
1367 unsigned int lines; 1367 unsigned int lines;
1368 1368
1369 lines = elm_obj_code_widget_lines_visible_get(widget); 1369 lines = efl_ui_code_widget_lines_visible_get(widget);
1370 return lines * 0.85; 1370 return lines * 0.85;
1371} 1371}
1372 1372
@@ -1491,7 +1491,7 @@ _elm_code_widget_tab_at_cursor_insert(Elm_Code_Widget *widget)
1491 return; 1491 return;
1492 } 1492 }
1493 1493
1494 elm_obj_code_widget_cursor_position_get(widget, &row, &col); 1494 efl_ui_code_widget_cursor_position_get(widget, &row, &col);
1495 rem = (col - 1) % pd->tabstop; 1495 rem = (col - 1) % pd->tabstop;
1496 1496
1497 while (rem < pd->tabstop) 1497 while (rem < pd->tabstop)
@@ -1513,8 +1513,8 @@ _elm_code_widget_newline(Elm_Code_Widget *widget)
1513 if (!elm_code_widget_selection_is_empty(widget)) 1513 if (!elm_code_widget_selection_is_empty(widget))
1514 elm_code_widget_selection_delete(widget); 1514 elm_code_widget_selection_delete(widget);
1515 1515
1516 code = elm_obj_code_widget_code_get(widget); 1516 code = efl_ui_code_widget_code_get(widget);
1517 elm_obj_code_widget_cursor_position_get(widget, &row, &col); 1517 efl_ui_code_widget_cursor_position_get(widget, &row, &col);
1518 line = elm_code_file_line_get(code->file, row); 1518 line = elm_code_file_line_get(code->file, row);
1519 if (line == NULL) 1519 if (line == NULL)
1520 { 1520 {
@@ -1536,9 +1536,9 @@ _elm_code_widget_newline(Elm_Code_Widget *widget)
1536 elm_code_widget_text_at_cursor_insert(widget, leading); 1536 elm_code_widget_text_at_cursor_insert(widget, leading);
1537 free(oldtext); 1537 free(oldtext);
1538 1538
1539 indent = elm_obj_code_widget_line_text_column_width_to_position(widget, line, 1539 indent = efl_ui_code_widget_line_text_column_width_to_position(widget, line,
1540 strlen(leading)); 1540 strlen(leading));
1541 efl_event_callback_legacy_call(widget, ELM_OBJ_CODE_WIDGET_EVENT_CHANGED_USER, NULL); 1541 efl_event_callback_legacy_call(widget, EFL_UI_CODE_WIDGET_EVENT_CHANGED_USER, NULL);
1542 1542
1543 textlen = strlen(leading) + 2; 1543 textlen = strlen(leading) + 2;
1544 text = malloc(sizeof(char) * textlen); 1544 text = malloc(sizeof(char) * textlen);
@@ -1560,8 +1560,8 @@ _elm_code_widget_backspaceline(Elm_Code_Widget *widget, Eina_Bool nextline)
1560 Eina_Bool cursor_move = EINA_TRUE; 1560 Eina_Bool cursor_move = EINA_TRUE;
1561 unsigned int row, col, oldlength, position = 0; 1561 unsigned int row, col, oldlength, position = 0;
1562 1562
1563 code = elm_obj_code_widget_code_get(widget); 1563 code = efl_ui_code_widget_code_get(widget);
1564 elm_obj_code_widget_cursor_position_get(widget, &row, &col); 1564 efl_ui_code_widget_cursor_position_get(widget, &row, &col);
1565 line = elm_code_file_line_get(code->file, row); 1565 line = elm_code_file_line_get(code->file, row);
1566 1566
1567 if (nextline) 1567 if (nextline)
@@ -1600,7 +1600,7 @@ _elm_code_widget_backspaceline(Elm_Code_Widget *widget, Eina_Bool nextline)
1600 } 1600 }
1601 1601
1602 // TODO construct and pass a change object 1602 // TODO construct and pass a change object
1603 efl_event_callback_legacy_call(widget, ELM_OBJ_CODE_WIDGET_EVENT_CHANGED_USER, NULL); 1603 efl_event_callback_legacy_call(widget, EFL_UI_CODE_WIDGET_EVENT_CHANGED_USER, NULL);
1604} 1604}
1605 1605
1606void 1606void
@@ -1618,8 +1618,8 @@ _elm_code_widget_backspace(Elm_Code_Widget *widget)
1618 return; 1618 return;
1619 } 1619 }
1620 1620
1621 code = elm_obj_code_widget_code_get(widget); 1621 code = efl_ui_code_widget_code_get(widget);
1622 elm_obj_code_widget_cursor_position_get(widget, &row, &col); 1622 efl_ui_code_widget_cursor_position_get(widget, &row, &col);
1623 1623
1624 if (col <= 1) 1624 if (col <= 1)
1625 { 1625 {
@@ -1640,9 +1640,9 @@ _elm_code_widget_backspace(Elm_Code_Widget *widget)
1640 1640
1641 text = elm_code_widget_text_between_positions_get(widget, row, start_col, row, end_col); 1641 text = elm_code_widget_text_between_positions_get(widget, row, start_col, row, end_col);
1642 elm_code_line_text_remove(line, position - char_width, char_width); 1642 elm_code_line_text_remove(line, position - char_width, char_width);
1643 elm_obj_code_widget_cursor_position_set(widget, row, start_col); 1643 efl_ui_code_widget_cursor_position_set(widget, row, start_col);
1644 1644
1645 efl_event_callback_legacy_call(widget, ELM_OBJ_CODE_WIDGET_EVENT_CHANGED_USER, NULL); 1645 efl_event_callback_legacy_call(widget, EFL_UI_CODE_WIDGET_EVENT_CHANGED_USER, NULL);
1646 1646
1647 change = _elm_code_widget_change_create(start_col, row, end_col - 1, row, text, char_width, EINA_FALSE); 1647 change = _elm_code_widget_change_create(start_col, row, end_col - 1, row, text, char_width, EINA_FALSE);
1648 _elm_code_widget_undo_change_add(widget, change); 1648 _elm_code_widget_undo_change_add(widget, change);
@@ -1664,8 +1664,8 @@ _elm_code_widget_delete(Elm_Code_Widget *widget)
1664 return; 1664 return;
1665 } 1665 }
1666 1666
1667 code = elm_obj_code_widget_code_get(widget); 1667 code = efl_ui_code_widget_code_get(widget);
1668 elm_obj_code_widget_cursor_position_get(widget, &row, &col); 1668 efl_ui_code_widget_cursor_position_get(widget, &row, &col);
1669 line = elm_code_file_line_get(code->file, row); 1669 line = elm_code_file_line_get(code->file, row);
1670 if (col > elm_code_widget_line_text_column_width_get(widget, line)) 1670 if (col > elm_code_widget_line_text_column_width_get(widget, line))
1671 { 1671 {
@@ -1685,8 +1685,8 @@ _elm_code_widget_delete(Elm_Code_Widget *widget)
1685 1685
1686 text = elm_code_widget_text_between_positions_get(widget, row, start_col, row, end_col); 1686 text = elm_code_widget_text_between_positions_get(widget, row, start_col, row, end_col);
1687 elm_code_line_text_remove(line, position, char_width); 1687 elm_code_line_text_remove(line, position, char_width);
1688 elm_obj_code_widget_cursor_position_set(widget, row, start_col); 1688 efl_ui_code_widget_cursor_position_set(widget, row, start_col);
1689 efl_event_callback_legacy_call(widget, ELM_OBJ_CODE_WIDGET_EVENT_CHANGED_USER, NULL); 1689 efl_event_callback_legacy_call(widget, EFL_UI_CODE_WIDGET_EVENT_CHANGED_USER, NULL);
1690 1690
1691 change = _elm_code_widget_change_create(start_col, row, col - 1, row, text, char_width, EINA_FALSE); 1691 change = _elm_code_widget_change_create(start_col, row, col - 1, row, text, char_width, EINA_FALSE);
1692 _elm_code_widget_undo_change_add(widget, change); 1692 _elm_code_widget_undo_change_add(widget, change);
@@ -1882,7 +1882,7 @@ _elm_code_widget_scroll_event_cb(void *data, Evas_Object *obj EINA_UNUSED,
1882} 1882}
1883 1883
1884EOLIAN static Eina_Bool 1884EOLIAN static Eina_Bool
1885_elm_code_widget_efl_ui_widget_widget_event(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd EINA_UNUSED, const Efl_Event *eo_event, Evas_Object *src EINA_UNUSED) 1885_elm_code_widget_efl_ui_widget_widget_input_event_handler(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd EINA_UNUSED, const Efl_Event *eo_event, Evas_Object *src EINA_UNUSED)
1886{ 1886{
1887 Eo *ev = eo_event->info; 1887 Eo *ev = eo_event->info;
1888 1888
@@ -2020,7 +2020,7 @@ _elm_code_widget_resize(Elm_Code_Widget *widget, Elm_Code_Line *newline)
2020 Elm_Code_Widget_Data *pd; 2020 Elm_Code_Widget_Data *pd;
2021 2021
2022 pd = efl_data_scope_get(widget, ELM_CODE_WIDGET_CLASS); 2022 pd = efl_data_scope_get(widget, ELM_CODE_WIDGET_CLASS);
2023 gutter = elm_obj_code_widget_text_left_gutter_width_get(widget); 2023 gutter = efl_ui_code_widget_text_left_gutter_width_get(widget);
2024 2024
2025 if (!pd->code) 2025 if (!pd->code)
2026 return; 2026 return;
@@ -2188,15 +2188,15 @@ _elm_code_widget_gravity_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd
2188} 2188}
2189 2189
2190EOLIAN static void 2190EOLIAN static void
2191_elm_code_widget_policy_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) 2191_elm_code_widget_policy_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_Code_Widget_Scroller_Policy policy_h, Elm_Code_Widget_Scroller_Policy policy_v)
2192{ 2192{
2193 elm_scroller_policy_set(pd->scroller, policy_h, policy_v); 2193 elm_scroller_policy_set(pd->scroller, (Elm_Scroller_Policy)policy_h, (Elm_Scroller_Policy)policy_v);
2194} 2194}
2195 2195
2196EOLIAN static void 2196EOLIAN static void
2197_elm_code_widget_policy_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) 2197_elm_code_widget_policy_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_Code_Widget_Scroller_Policy *policy_h, Elm_Code_Widget_Scroller_Policy *policy_v)
2198{ 2198{
2199 elm_scroller_policy_get(pd->scroller, policy_h, policy_v); 2199 elm_scroller_policy_get(pd->scroller, (Elm_Scroller_Policy*)policy_h, (Elm_Scroller_Policy*)policy_v);
2200} 2200}
2201 2201
2202EOLIAN static void 2202EOLIAN static void
@@ -2341,15 +2341,15 @@ _elm_code_widget_theme_refresh(Eo *obj, Elm_Code_Widget_Data *pd)
2341 } 2341 }
2342} 2342}
2343 2343
2344EOLIAN static Efl_Ui_Theme_Apply_Result 2344EOLIAN static Eina_Error
2345_elm_code_widget_efl_ui_widget_theme_apply(Eo *obj, Elm_Code_Widget_Data *pd) 2345_elm_code_widget_efl_ui_widget_theme_apply(Eo *obj, Elm_Code_Widget_Data *pd)
2346{ 2346{
2347 if (!efl_ui_widget_theme_apply(efl_cast(obj, EFL_UI_WIDGET_CLASS))) 2347 if (efl_ui_widget_theme_apply(efl_cast(obj, EFL_UI_WIDGET_CLASS)) == EFL_UI_THEME_APPLY_ERROR_GENERIC)
2348 return EFL_UI_THEME_APPLY_RESULT_FAIL; 2348 return EFL_UI_THEME_APPLY_ERROR_GENERIC;
2349 2349
2350 _elm_code_widget_theme_refresh(obj, pd); 2350 _elm_code_widget_theme_refresh(obj, pd);
2351 2351
2352 return EFL_UI_THEME_APPLY_RESULT_SUCCESS; 2352 return EFL_UI_THEME_APPLY_ERROR_NONE;
2353} 2353}
2354 2354
2355EOLIAN static int 2355EOLIAN static int
@@ -2382,10 +2382,10 @@ _elm_code_widget_efl_canvas_group_group_add(Eo *obj, Elm_Code_Widget_Data *pd)
2382 elm_widget_can_focus_set(obj, EINA_TRUE); 2382 elm_widget_can_focus_set(obj, EINA_TRUE);
2383 pd->alpha = 255; 2383 pd->alpha = 255;
2384 2384
2385 if (!elm_widget_theme_object_set(obj, wd->resize_obj, 2385 if (elm_widget_theme_object_set(obj, wd->resize_obj,
2386 elm_widget_theme_klass_get(obj), 2386 elm_widget_theme_klass_get(obj),
2387 elm_widget_theme_element_get(obj), 2387 elm_widget_theme_element_get(obj),
2388 elm_widget_theme_style_get(obj))) 2388 elm_widget_theme_style_get(obj)) == EFL_UI_THEME_APPLY_ERROR_GENERIC)
2389 CRI("Failed to set layout!"); 2389 CRI("Failed to set layout!");
2390 2390
2391 scroller = elm_scroller_add(obj); 2391 scroller = elm_scroller_add(obj);
@@ -2429,8 +2429,8 @@ _elm_code_widget_efl_canvas_group_group_add(Eo *obj, Elm_Code_Widget_Data *pd)
2429 2429
2430 efl_event_callback_add(obj, &ELM_CODE_EVENT_LINE_LOAD_DONE, _elm_code_widget_line_cb, obj); 2430 efl_event_callback_add(obj, &ELM_CODE_EVENT_LINE_LOAD_DONE, _elm_code_widget_line_cb, obj);
2431 efl_event_callback_add(obj, &ELM_CODE_EVENT_FILE_LOAD_DONE, _elm_code_widget_file_cb, obj); 2431 efl_event_callback_add(obj, &ELM_CODE_EVENT_FILE_LOAD_DONE, _elm_code_widget_file_cb, obj);
2432 efl_event_callback_add(obj, ELM_OBJ_CODE_WIDGET_EVENT_SELECTION_CHANGED, _elm_code_widget_selection_cb, obj); 2432 efl_event_callback_add(obj, EFL_UI_CODE_WIDGET_EVENT_SELECTION_CHANGED, _elm_code_widget_selection_cb, obj);
2433 efl_event_callback_add(obj, ELM_OBJ_CODE_WIDGET_EVENT_SELECTION_CLEARED, _elm_code_widget_selection_clear_cb, obj); 2433 efl_event_callback_add(obj, EFL_UI_CODE_WIDGET_EVENT_SELECTION_CLEARED, _elm_code_widget_selection_clear_cb, obj);
2434} 2434}
2435 2435
2436/* Internal EO APIs and hidden overrides */ 2436/* Internal EO APIs and hidden overrides */
@@ -2441,3 +2441,4 @@ _elm_code_widget_efl_canvas_group_group_add(Eo *obj, Elm_Code_Widget_Data *pd)
2441#include "elm_code_widget_text.c" 2441#include "elm_code_widget_text.c"
2442#include "elm_code_widget_undo.c" 2442#include "elm_code_widget_undo.c"
2443#include "elm_code_widget.eo.c" 2443#include "elm_code_widget.eo.c"
2444#include "elm_code_widget_eo.legacy.c"