From: tasn Date: Wed, 14 Dec 2011 13:27:47 +0000 (+0000) Subject: Edje entry: Use the new default "tab" and "br" tags. X-Git-Tag: submit/trunk/20120815.180907~337 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec0f65ed9f12fc9f12c32da17a2fda249f1dbbe3;p=profile%2Fivi%2Fedje.git Edje entry: Use the new default "tab" and "br" tags. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@66193 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index d618821..2ce4048 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -1361,10 +1361,10 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v _sel_clear(en->cursor, rp->object, en); info->change.insert.pos = evas_textblock_cursor_pos_get(en->cursor); - info->change.insert.content = eina_stringshare_add("<\t/>"); + info->change.insert.content = eina_stringshare_add(""); //yy -// evas_textblock_cursor_format_prepend(en->cursor, "\t"); - _text_filter_format_prepend(en, en->cursor, "\t"); +// evas_textblock_cursor_format_prepend(en->cursor, "tab"); + _text_filter_format_prepend(en, en->cursor, "tab"); _anchors_get(en->cursor, rp->object, en); _edje_emit(ed, "entry,changed", rp->part->name); _edje_emit_full(ed, "entry,changed,user", rp->part->name, @@ -1430,9 +1430,9 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v if (shift) { //yy -// evas_textblock_cursor_format_prepend(en->cursor, "\n"); - _text_filter_format_prepend(en, en->cursor, "\n"); - info->change.insert.content = eina_stringshare_add("<\n/>"); +// evas_textblock_cursor_format_prepend(en->cursor, "br"); + _text_filter_format_prepend(en, en->cursor, "br"); + info->change.insert.content = eina_stringshare_add("
"); } else {