hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=83e66e43bd30adc1976429d2ec71efb17ff36736

commit 83e66e43bd30adc1976429d2ec71efb17ff36736
Author: taehyub <taehyub....@samsung.com>
Date:   Wed Feb 17 19:07:34 2016 +0900

    focus error notification when error is occured
    
    Summary: select error word when error is occured
    
    Test Plan:
    1. make some error in edc script
    2. press ctrl + s
    3. see the selection region of error word
    
    Reviewers: Hermet, Jaehyun_Cho, NikaWhite
    
    Differential Revision: https://phab.enlightenment.org/D3681
---
 src/bin/base_gui.c | 1 +
 src/bin/console.c  | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/src/bin/base_gui.c b/src/bin/base_gui.c
index ef49d1d..552d913 100644
--- a/src/bin/base_gui.c
+++ b/src/bin/base_gui.c
@@ -44,6 +44,7 @@ base_error_msg_set(const char *msg)
    console_text_set(bd->console, msg);
    panes_editors_full_view(EINA_FALSE);
    bd->console_msg = EINA_TRUE;
+   error_word_selection_set(bd->console);
 }
 
 void
diff --git a/src/bin/console.c b/src/bin/console.c
index 2a8a4fb..ff9eef2 100644
--- a/src/bin/console.c
+++ b/src/bin/console.c
@@ -67,6 +67,12 @@ error_word_selection_anim_cb(void *data)
    return ECORE_CALLBACK_CANCEL;
 }
 
+void
+error_word_selection_set(Evas_Object *console)
+{
+   ecore_animator_add(error_word_selection_anim_cb, console);
+}
+
 static void
 console_mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
                       void *evnent_info)

-- 


Reply via email to