enventor - no more workaround code. it works now...?

This commit is contained in:
ChunEon Park 2013-10-19 00:28:50 +09:00
parent 6b37c2b9de
commit 27530e9d2d
2 changed files with 2 additions and 3 deletions

View File

@ -86,7 +86,7 @@ config_init(const char *edc_path, const char *edc_img_path,
cd->linenumber = EINA_TRUE;
cd->part_highlight = EINA_TRUE;
cd->dummy_swallow = EINA_TRUE;
cd->auto_indent = EINA_FALSE;
cd->auto_indent = EINA_TRUE;
return cd;
}

View File

@ -81,8 +81,7 @@ syntax_color_apply(edit_data *ed)
utf8 = strdup(utf8);
const char *translated = color_apply(syntax_color_data_get(ed->sh), utf8,
strlen(utf8));
elm_entry_entry_set(ed->en_edit, NULL);
elm_entry_entry_append(ed->en_edit, translated);
elm_entry_entry_set(ed->en_edit, translated);
elm_entry_cursor_pos_set(ed->en_edit, pos);
free(utf8);
}