hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=92fe3420393dfafa5f51370606cca498657766d9
commit 92fe3420393dfafa5f51370606cca498657766d9 Author: taehyub <taehyub....@samsung.com> Date: Fri Feb 19 18:35:59 2016 +0900 apply ELM_CNP_MODE_PLAINTEXT mode to enventor entry Summary: When copy & paste in markup text mode, elm_entry does not support to close markup text. In enventor the feature cause the color changes about the pasted text. so I applied the plain text mode to prevent color changes when some text are pasted. Test Plan 1. copy some text 2. paste anywhere 3. see the color of the text whether there are color changes or not Reviewers: Hermet, Jaehyun_Cho, NikaWhite Differential Revision: https://phab.enlightenment.org/D3717 --- src/lib/edc_editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c index be9c30a..3b04717 100644 --- a/src/lib/edc_editor.c +++ b/src/lib/edc_editor.c @@ -1457,6 +1457,7 @@ edit_init(Evas_Object *enventor) //EDC Editor Entry Evas_Object *en_edit = elm_entry_add(layout); + elm_entry_cnp_mode_set(en_edit, ELM_CNP_MODE_PLAINTEXT); elm_object_style_set(en_edit, "enventor"); elm_entry_context_menu_disabled_set(en_edit, EINA_TRUE); elm_entry_line_wrap_set(en_edit, ELM_WRAP_NONE); --