Fix RemoveText issue in text controller 49/277649/3
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 11 Jul 2022 11:28:08 +0000 (20:28 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 12 Jul 2022 05:36:20 +0000 (14:36 +0900)
commit21b574541aac2281c92020c0f62f7754897808b2
tree2f167aefb0bf0c60a79f573b273d2ef15d2d9b16
parent404951ce1994183b50908037e954760bedfbb912
Fix RemoveText issue in text controller

RemoveText() fails to remove text in some cases
before mPreviousNumberOfCharacters of mTextUpdateInfo is updated.

In all text remove situation, it can be removed regardless of the update of this info.
It's same as the previous preedit all remove behavior.

Change-Id: I7c64a133e6d0df84829dc35c25b71f100da6d702
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/text/text-controller-text-updater.cpp