Fix Crash when the InsertText event is executed multiple times between Relayout. 15/309315/3
authorANZ1217 <chihun.jeong@samsung.com>
Mon, 8 Apr 2024 11:46:52 +0000 (20:46 +0900)
committerANZ1217 <chihun.jeong@samsung.com>
Thu, 11 Apr 2024 06:47:40 +0000 (15:47 +0900)
commit233f2cb3eda10554b4364512ee5656cc428c4b89
tree4d95c5814003640aeaad270f007ac9a538d94d91
parent1107ba72b3dedc97796b71d2aeb585973f7ce06d
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