summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorali <ali198724@gmail.com>2020-08-05 11:22:14 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2020-08-05 11:22:14 +0900
commit5d3497e506e0ec8fed17db83ca22119cc693e77d (patch)
tree338746089c84410059a4c7ba0e14eb9142e84f63
parent2d7667aa44780a5a4136b317d050b65d66da21eb (diff)
efl.ui.textbox: Keyboard Enter will add paragraph separator
Summary: efl.ui.textbox: Keyboard Enter will add paragraph separator and \n because of D9064 Textbox multiline can work with paragraph separator Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11201
-rw-r--r--src/lib/elementary/efl_ui_internal_text_interactive.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/elementary/efl_ui_internal_text_interactive.c b/src/lib/elementary/efl_ui_internal_text_interactive.c
index 9906afb2dc..397bbefcea 100644
--- a/src/lib/elementary/efl_ui_internal_text_interactive.c
+++ b/src/lib/elementary/efl_ui_internal_text_interactive.c
@@ -1186,16 +1186,14 @@ _key_down_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void
1186 { 1186 {
1187 if (multiline) 1187 if (multiline)
1188 { 1188 {
1189 //FIXME this should be Fixed when multiline set works fine with PARAGRAPH_SEPARATOR 1189 if (shift || efl_canvas_textblock_newline_as_paragraph_separator_get(obj))
1190 //Now only \n can work with multiline set
1191 //if (shift || efl_canvas_textblock_newline_as_paragraph_separator_get(obj))
1192 { 1190 {
1193 string = "\n"; 1191 string = "\n";
1194 } 1192 }
1195 /*else 1193 else
1196 { 1194 {
1197 string = _PARAGRAPH_SEPARATOR_UTF8; 1195 string = _PARAGRAPH_SEPARATOR_UTF8;
1198 }*/ 1196 }
1199 } 1197 }
1200 } 1198 }
1201 1199