hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=7811da09b0aa276d1c80add4db31fc017eebcc60

commit 7811da09b0aa276d1c80add4db31fc017eebcc60
Author: taehyub <taehyub....@samsung.com>
Date:   Thu Feb 11 14:50:13 2016 +0900

    Add bracket highlight function in thread function
    
    Summary:
    Add bracket highlight function in thread function.
    It cause the entry scroller moving when scroller bar is unpressed.
    
    @T3145
    
    Reviewers: Hermet, Jaehyun_Cho
    
    Differential Revision: https://phab.enlightenment.org/D3671
---
 src/lib/edc_editor.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c
index 98e9e0a..0d1a882 100644
--- a/src/lib/edc_editor.c
+++ b/src/lib/edc_editor.c
@@ -319,6 +319,7 @@ syntax_color_thread_end_cb(void *data, Ecore_Thread *thread 
EINA_UNUSED)
    entry_recover_param_get(td->ed, &cursor_pos, &sel_cur_begin, &sel_cur_end);
    evas_object_textblock_text_markup_set(tb, td->translated);
    error_highlight(td->ed, tb);
+   bracket_highlight(td->ed, tb);
    entry_recover(td->ed, cursor_pos, sel_cur_begin, sel_cur_end);
 
    td->ed->syntax_color_thread = NULL;
@@ -331,6 +332,7 @@ syntax_color_thread_cancel_cb(void *data, Ecore_Thread 
*thread EINA_UNUSED)
    syntax_color_td *td = data;
    Evas_Object *tb = elm_entry_textblock_get(td->ed->en_edit);
    error_highlight(td->ed, tb);
+   bracket_highlight(td->ed, tb);
    td->ed->syntax_color_thread = NULL;
    free(td);
 }

-- 


Reply via email to