From 46b5caa1b34f5eed54778e4edece339c36f38365 Mon Sep 17 00:00:00 2001 From: Chulheon Date: Fri, 21 Jun 2013 20:39:03 +0900 Subject: [PATCH] fixed bug (N_SE-41584) Change-Id: I22e89e43660e2e611990e563011d18c85d7857cf --- src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp b/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp index e0d740d..582705e 100644 --- a/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp +++ b/src/ui/controls/FUiCtrl_EditCopyPasteManager.cpp @@ -2051,6 +2051,16 @@ _EditCopyPasteManager::CreateCopyPastePopup(void) { copyPastePoint.x = startRect.x; } + + if (copyPastePoint.x < editShowAreaAbsRect.x) + { + copyPastePoint.x = editShowAreaAbsRect.x; + } + else if (copyPastePoint.x > (editShowAreaAbsRect.x + editShowAreaAbsRect.width)) + { + copyPastePoint.x = editShowAreaAbsRect.x + editShowAreaAbsRect.width; + } + //Both of handlers are located on the top of the Editor. if ( ((startRect.y + startRect.height) < editShowAreaAbsRect.y) && ((endRect.y + endRect.height) < editShowAreaAbsRect.y)) { -- 2.7.4