Change the boundary of the surrounding text
authorTaejun <tj.twt.park@samsung.com>
Thu, 24 Oct 2013 07:36:55 +0000 (16:36 +0900)
committerTaejun <tj.twt.park@samsung.com>
Thu, 24 Oct 2013 07:36:55 +0000 (16:36 +0900)
Change-Id: I327186aa6cc6f21676b1aeff2a23bec0cf2d93ae

src/ui/controls/FUiCtrl_EditPresenter.cpp

index 9fa7ee1..6d9ab8c 100755 (executable)
@@ -880,8 +880,8 @@ _EditPresenter::OnSurroundingTextDeleted(int offset, int charCount)
 void
 _EditPresenter::GetPreviousText(InputConnection& source, String& text, int& cursorPosition)
 {
-       const int SURROUNDING_PREVIOUS_TEXT_SIZE = 100;
-       const int SURROUNDING_NEXT_TEXT_SIZE = 20;
+       const int SURROUNDING_PREVIOUS_TEXT_SIZE = 128;
+       const int SURROUNDING_NEXT_TEXT_SIZE = 32;
        int inputTextLength = GetTextLength();
 
        if (inputTextLength < 1)