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
This commit is contained in:
taehyub 2016-02-17 19:07:34 +09:00 committed by Hermet Park
parent d388f581e5
commit 83e66e43bd
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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)