hermet pushed a commit to branch master.

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

commit dc9482a42adbe5017c6e683a83c1365b0b79c915
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Tue May 27 11:23:41 2014 +0900

    syntax_color: apply syntax_color right now if the template code is inserted.
---
 src/bin/edc_editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/edc_editor.c b/src/bin/edc_editor.c
index a247a0d..beb46b2 100644
--- a/src/bin/edc_editor.c
+++ b/src/bin/edc_editor.c
@@ -428,7 +428,7 @@ edit_template_part_insert(edit_data *ed, Edje_Part_Type 
type)
 
    elm_entry_cursor_pos_set(ed->en_edit, cursor_pos);
 
-   syntax_color_timer_update(ed, SYNTAX_COLOR_SHORT_TIME);
+   syntax_color_timer_update(ed, 0);
    snprintf(buf, sizeof(buf), "Template code inserted. (%s Part)", part);
    stats_info_msg_update(buf);
 }

-- 


Reply via email to