forked from enlightenment/edi
Update to latest eolian (getting stable we hope).
Also mark code as a construction property
This commit is contained in:
parent
ff7d8550e5
commit
7cdab3d5ad
|
@ -45,21 +45,23 @@ Eina_Unicode status_icons[] = {
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
EOLIAN static void
|
||||
EOLIAN static Eo *
|
||||
_elm_code_widget_eo_base_constructor(Eo *obj, Elm_Code_Widget_Data *pd)
|
||||
{
|
||||
eo_do_super(obj, ELM_CODE_WIDGET_CLASS, eo_constructor());
|
||||
obj = eo_do_super_ret(obj, ELM_CODE_WIDGET_CLASS, obj, eo_constructor());
|
||||
|
||||
pd->cursor_line = 1;
|
||||
pd->cursor_col = 1;
|
||||
|
||||
pd->tabstop = 8;
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
||||
EOLIAN static Eo *
|
||||
_elm_code_widget_eo_base_finalize(Eo *obj, Elm_Code_Widget_Data *pd)
|
||||
{
|
||||
eo_do_super(obj, ELM_CODE_WIDGET_CLASS, eo_finalize());
|
||||
obj = eo_do_super_ret(obj, ELM_CODE_WIDGET_CLASS, obj, eo_finalize());
|
||||
|
||||
if (pd->code)
|
||||
return obj;
|
||||
|
|
|
@ -212,6 +212,9 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
|
|||
Elm.Widget.focus_next_manager_is;
|
||||
Elm.Widget.focus_direction_manager_is;
|
||||
}
|
||||
constructors {
|
||||
.code;
|
||||
}
|
||||
events {
|
||||
line,clicked;
|
||||
line,gutter,clicked;
|
||||
|
|
Loading…
Reference in New Issue