[Tizen] Fix Crash when the InsertText event is executed multiple times between Relayout. 45/309745/1 tizen
authorANZ1217 <chihun.jeong@samsung.com>
Mon, 8 Apr 2024 11:46:52 +0000 (20:46 +0900)
committerANZ1217 <chihun.jeong@samsung.com>
Tue, 16 Apr 2024 07:28:37 +0000 (16:28 +0900)
commit3bbcad13da05e143a6f8dff587fc4eefa4c5d342
tree1cbcdc7cdeb8d7860b7d1d2c1af82125ee8bafbb
parente7e68bbdbd0265b570a7174eb5d7fe110f48f4b7
[Tizen] Fix Crash when the InsertText event is executed multiple times between Relayout.

When using IME, InsertText may be executed multiple times within one relayout.
Fix the problem that length of the text cannot be calculated correctly.

Change-Id: Id47f7bbacf90a098055fc7b6ae0d4931a9facde2
automated-tests/src/dali-toolkit-internal/utc-Dali-Text-Controller.cpp
dali-toolkit/internal/text/controller/text-controller-event-handler.cpp
dali-toolkit/internal/text/controller/text-controller-text-updater.cpp
dali-toolkit/internal/text/controller/text-controller-text-updater.h