From 23680bb2497fb4a570d6f71ccc93dbec59ed0c5c Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Thu, 23 Jul 2020 19:57:10 +0900 Subject: [PATCH] [Tizen] Reset the number of characters to add in deleting all texts Change-Id: Icc5681a75eb9ed93afb2741b08861cb2974000cf Signed-off-by: Seoyeon Kim --- dali-toolkit/internal/text/text-controller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dali-toolkit/internal/text/text-controller.cpp b/dali-toolkit/internal/text/text-controller.cpp index a3e122e..6fd031f 100755 --- a/dali-toolkit/internal/text/text-controller.cpp +++ b/dali-toolkit/internal/text/text-controller.cpp @@ -3728,6 +3728,7 @@ bool Controller::RemoveText( int cursorOffset, if( ( currentText.Count() - numberOfCharacters == 0 ) && ( cursorIndex == 0 ) ) { mImpl->ClearPreEditFlag(); + mImpl->mTextUpdateInfo.mNumberOfCharactersToAdd = 0; } // Updates the text style runs by removing characters. Runs with no characters are removed. -- 2.7.4