From: Ji-hoon Lee Date: Tue, 15 Nov 2016 05:47:48 +0000 (+0900) Subject: Fixed the 'DeleteAll button not working' issue X-Git-Tag: accepted/tizen/3.0/common/20161116.143250~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F97828%2F1;p=platform%2Fcore%2Fuifw%2Fise-default.git Fixed the 'DeleteAll button not working' issue Change-Id: Ibc0c94cf671f29a3727c17683937729dd7e0dda4 --- diff --git a/src/ise.cpp b/src/ise.cpp index 50e0b24..33e226b 100644 --- a/src/ise.cpp +++ b/src/ise.cpp @@ -1057,7 +1057,7 @@ SCLEventReturnType CUIEventCallback::on_event_key_clicked(SclUIEventDesc event_d } //g_need_send_shift_event = TRUE; } else if (strncmp(event_desc.key_value, delete_all, strlen(delete_all)) == 0) { - g_core.get_surrounding_text(NULL, -1, -1); + g_core.delete_surrounding_text((INT_MAX / 2) * -1, INT_MAX); } else if (strncmp(event_desc.key_value, hide_panel, strlen(hide_panel)) == 0) { ::ise_hide(); g_core.request_ise_hide();