From: Ayush Date: Sat, 16 Mar 2013 06:57:11 +0000 (+0530) Subject: Implementation in Edit to not consume right arrow Key Pressed events when cursor... X-Git-Tag: accepted/tizen_2.1/20130425.033138~882 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51f6e5d11faf5a18159a4888175d7cc1b5ffb583;p=framework%2Fosp%2Fuifw.git Implementation in Edit to not consume right arrow Key Pressed events when cursor reaches righmost position Change-Id: Ibeae3763c9f4c893065d86722fcd488804a93f64 Signed-off-by: Ayush --- diff --git a/src/ui/controls/FUiCtrl_EditPresenter.cpp b/src/ui/controls/FUiCtrl_EditPresenter.cpp index 5d90f35..42b2ecd 100644 --- a/src/ui/controls/FUiCtrl_EditPresenter.cpp +++ b/src/ui/controls/FUiCtrl_EditPresenter.cpp @@ -3564,6 +3564,11 @@ _EditPresenter::OnKeyPressed(const _Control& source, const _KeyInfo& keyInfo) __composingTextLength = 0; } + if (__cursorPos == GetTextLength()) + { + return false; + } + if (__cursorPos < GetTextLength()) { int startPosition = -1;