tasn pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3c5b0bc1b51b09e2061cc67ecd5dc77f91e651da
commit 3c5b0bc1b51b09e2061cc67ecd5dc77f91e651da Author: Daniel Hirt <[email protected]> Date: Thu Jun 16 20:58:20 2016 +0000 Ui text: store SEL_FORMAT_TEXT only for now. --- src/lib/elementary/efl_ui_text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c index 3eb8c90..dd6d764 100644 --- a/src/lib/elementary/efl_ui_text.c +++ b/src/lib/elementary/efl_ui_text.c @@ -1648,6 +1648,7 @@ _selection_store(Elm_Sel_Type seltype, { char *sel; Efl_Canvas_Text_Cursor *start, *end; + Elm_Sel_Format format = ELM_SEL_FORMAT_TEXT; EFL_UI_TEXT_DATA_GET(obj, sd); @@ -1657,7 +1658,7 @@ _selection_store(Elm_Sel_Type seltype, if ((!sel) || (!sel[0])) return; /* avoid deleting our own selection */ elm_cnp_selection_set - (obj, seltype, sd->cnp_mode, sel, strlen(sel)); + (obj, seltype, format, sel, strlen(sel)); elm_cnp_selection_loss_callback_set(obj, seltype, _selection_clear, obj); if (seltype == ELM_SEL_TYPE_CLIPBOARD) eina_stringshare_replace(&sd->cut_sel, sel); --
