From: Chulheon Date: Wed, 5 Jun 2013 10:02:33 +0000 (+0900) Subject: fixed bug X-Git-Tag: accepted/tizen/20130924.144426~1^2~678 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=883c49fbf28613959b426e04a8898787d8768b17;p=platform%2Fframework%2Fnative%2Fuifw.git fixed bug Change-Id: Ic755a45f4575d78030f77dcd56111cf96aa0df7d --- diff --git a/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp b/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp index 0d77526..ab99d97 100644 --- a/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp +++ b/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp @@ -1459,6 +1459,10 @@ _EditCopyPasteHandler::OnTouchMoved(const _Control& source, const _TouchInfo& to { if (curCursorLine !=0) { + if (__rowIndex == 0) + { + return true; + } int offset = __handlerCursorPos - pTextObject->GetFirstTextIndexAt(curCursorLine); int firstTextIndex = pTextObject->GetFirstTextIndexAt(curCursorLine-1); cursorPos = offset + firstTextIndex; @@ -1503,7 +1507,7 @@ _EditCopyPasteHandler::OnTouchMoved(const _Control& source, const _TouchInfo& to return true; } - if (cursorPosFromTouch && (__rowIndex != -1 && __columnIndex != -1)) + if (cursorPosFromTouch && (rowIndex != -1 && columnIndex != -1)) { __rowIndex = rowIndex; __columnIndex = columnIndex;