hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=37ba55657bf300176472aead8f644382367e9db7

commit 37ba55657bf300176472aead8f644382367e9db7
Author: Hermet Park <[email protected]>
Date:   Thu Jun 2 19:13:16 2016 +0900

    edc_editor: turn off focus highlight effect for code editor.
    
    Editor has its cursor blinking so it doesn't need an additional highlight 
effect.
---
 src/lib/edc_editor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c
index fc104b2..37de60f 100644
--- a/src/lib/edc_editor.c
+++ b/src/lib/edc_editor.c
@@ -1385,8 +1385,9 @@ edit_init(Enventor_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_object_focus_highlight_style_set(en_edit, "blank");
+   elm_entry_cnp_mode_set(en_edit, ELM_CNP_MODE_PLAINTEXT);
    elm_entry_context_menu_disabled_set(en_edit, EINA_TRUE);
    elm_entry_line_wrap_set(en_edit, ELM_WRAP_NONE);
    evas_object_smart_callback_add(en_edit, "focused", edit_focused_cb, ed);

-- 


Reply via email to